-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathCMakeLists.txt
25 lines (19 loc) · 927 Bytes
/
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
PROJECT(Wavemesh)
cmake_minimum_required(VERSION 3.5)
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
OPTION(BUILD_SHARED_LIBS "Build vtkSurface with shared libraries." ON)
SET (EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin CACHE PATH "Single output directory for building all executables.")
SET (LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin CACHE PATH "Single output directory for building all libraries.")
MARK_AS_ADVANCED(LIBRARY_OUTPUT_PATH EXECUTABLE_OUTPUT_PATH)
find_package(VTK REQUIRED NO_MODULE)
include(${VTK_USE_FILE})
SET(VTKSURFACE_PROJECT_DIR ${PROJECT_SOURCE_DIR})
SET(VTKSURFACE_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/ACVD/Common)
SET(VTKWAVEMESH_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/Compression)
SET(VTKRANGECODING_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/RangeCoding)
# The main library
ADD_SUBDIRECTORY(ACVD/Common)
ADD_SUBDIRECTORY(RangeCoding)
ADD_SUBDIRECTORY(Compression)