-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCMakeLists.txt
62 lines (46 loc) · 1.31 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
55
56
57
58
59
60
61
PROJECT (VTKSDIS)
### 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)
#####################################################################
SET (LIBRARY_OUTPUT_PATH ${VTKSDIS_BINARY_DIR}/bin
CACHE
PATH
"Single output directory for building all libraries.")
SET (EXECUTABLE_OUTPUT_PATH ${VTKSDIS_BINARY_DIR}/bin
CACHE
PATH
"Single output directory for building all executables.")
INCLUDE_DIRECTORIES (${LIBRARY_OUTPUT_PATH})
INCLUDE_DIRECTORIES (${EXECUTABLE_OUTPUT_PATH})
INCLUDE_DIRECTORIES (${VTKSDIS_SOURCE_DIR}/Filters)
MARK_AS_ADVANCED(
LIBRARY_OUTPUT_PATH
EXECUTABLE_OUTPUT_PATH
)
ADD_SUBDIRECTORY(
Filters
)
OPTION( BUILD_DOCUMENTATION
"Build Doxygen documentation"
OFF )
OPTION( BUILD_PARAVIEW_PLUGINS
"Build paraview plugin"
OFF )
OPTION( BUILD_EXAMPLES
"Build examples"
OFF )
IF( BUILD_DOCUMENTATION )
ADD_SUBDIRECTORY(Documentation)
ENDIF( BUILD_DOCUMENTATION )
IF( BUILD_PARAVIEW_PLUGINS)
ADD_SUBDIRECTORY(Plugins)
ENDIF( BUILD_PARAVIEW_PLUGINS)
ENABLE_TESTING()
INCLUDE(CTest)
ADD_SUBDIRECTORY(Tests)
IF( BUILD_EXAMPLES )
ADD_SUBDIRECTORY(Examples)
ENDIF( BUILD_EXAMPLES )