]> Creatis software - cpPlugins.git/blob - COMPILATION
...
[cpPlugins.git] / COMPILATION
1 @description
2   The project uses CMake as compilation helper. It should compile on the three
3   major box flavors (linux, windows, mac). However, as of december 2014, it
4   has only been tested on linux Fedora 20 and Ubuntu 14.04.
5
6 @prerequisites
7   1. CMake (>=2.8.12.2)
8
9   2. Visualization Toolkit -VTK- (>=6.1.0)
10     2.1 Required cmake flags:
11       BUILD_SHARED_LIBS:BOOL=ON
12
13   3. Insight Toolkit -ITK- (>=4.6.0)
14     3.1 Required cmake flags:
15       BUILD_SHARED_LIBS:BOOL=ON
16       Module_ITKVtkGlue:BOOL=ON
17
18   4. WARNING: Notes on compilation on MS-Windows
19      As the time being (circa dec 2014), I've been using MSVC-2013
20      (compiler version 12). As expected, weird behavior is related to
21      this config. Please take into account the following in order to
22      have a successful compilation:
23      4.1 If you want to build the Qt-based code, please be sure that
24          it was compiled with EXACTLY the same compiler you are using.
25      4.2 Since the dll load-unload procedure in MSWin is kind of magic,
26          VTK should be compiled as shared libraries and ITK should be
27          compiled as static libraries. This allows a correct
28          execution of the SmartPointer's thus preventing anoying crashes.
29      4.3 If you found more problems in any MSWin config, please let us know at
30          florez-l@javeriana.edu.co
31   
32
33 @cmake_flags
34   BUILD_DEMOS:BOOL
35     Build example applications? (most of them are command line)
36   CMAKE_BUILD_TYPE:STRING
37     Debug/Release?
38   CMAKE_INSTALL_PREFIX:STRING
39     Where to put installation products? (in windows this option has no use)
40
41 ## eof - $RCSfile$