-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCMakeLists.txt
55 lines (41 loc) · 1.36 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
PROJECT (Chiron)
### The following are needed to avoid warnings. See CMake doc. ######
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
IF(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
ENDIF(COMMAND cmake_policy)
#####################################################################
# First of all, this a ParaView plugin. It *needs* ParaView...
FIND_PACKAGE(ParaView REQUIRED)
INCLUDE(${PARAVIEW_USE_FILE})
SET (LIBRARY_OUTPUT_PATH ${Chiron_BINARY_DIR}/bin
CACHE
PATH
"Single output directory for building all libraries.")
SET (EXECUTABLE_OUTPUT_PATH ${Chiron_BINARY_DIR}/bin
CACHE
PATH
"Single output directory for building all executables.")
INCLUDE_DIRECTORIES (${LIBRARY_OUTPUT_PATH})
INCLUDE_DIRECTORIES (${EXECUTABLE_OUTPUT_PATH})
INCLUDE_DIRECTORIES (${Chiron_SOURCE_DIR}/Resources)
INCLUDE_DIRECTORIES (${Chiron_SOURCE_DIR}/Modules)
INCLUDE_DIRECTORIES (${Chiron_SOURCE_DIR}/Plugins)
SET( CHIRON_RESOURCES_PATH ${Chiron_SOURCE_DIR}/Resources )
SET( CHIRON_ALGORITHMS_PATH ${Chiron_SOURCE_DIR}/Algorithms )
SET( CHIRON_PLUGINS_PATH ${Chiron_SOURCE_DIR}/Plugins )
MARK_AS_ADVANCED(
LIBRARY_OUTPUT_PATH
EXECUTABLE_OUTPUT_PATH
)
SUBDIRS(
# Resources
Plugins
Modules
)
OPTION( BUILD_DOCUMENTATION
"Build Doxygen documentation"
OFF )
IF( BUILD_DOCUMENTATION )
SUBDIRS(Documentation)
ENDIF( BUILD_DOCUMENTATION )