-
Notifications
You must be signed in to change notification settings - Fork 10
/
CMakeLists.txt
25 lines (17 loc) · 867 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
SC_BEGIN_PACKAGE(RTDD)
SET(VERSION_STR "1.8.6")
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/libs)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/libs)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../base/common/libs)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/../../base/common/libs)
SET(HDD_LIB_INSTALL_DIR ${SC3_PACKAGE_LIB_DIR})
SET(HDD_HEADERS_INSTALL_DIR ${SC3_PACKAGE_INCLUDE_DIR})
OPTION(HDD_SHARED_LIB "Build libhdd as a shared library instead of static" ON)
OPTION(HDD_USE_BOOST_FS "Build libhdd using boost::filesystem instead of std::filesystem" ON)
OPTION(HDD_INSTALL_HEADERS "Install libhdd header files." OFF)
# Add test directory
IF (SC_GLOBAL_UNITTESTS)
SET(HDD_TESTS ON)
ENDIF (SC_GLOBAL_UNITTESTS)
OPTION(HDD_TESTS "Build libhdd tests. This will be enabled also when SC_GLOBAL_UNITTESTS is ON" OFF)
SUBDIRS(libs apps doc)