Modify CMakeLists.txt file
This commit is contained in:
parent
0f17bd1b0b
commit
74070ae400
|
@ -14,7 +14,8 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
|
||||||
OPTION(COMPILE_EXAMPLES "Select this if you want to build the examples" OFF)
|
OPTION(COMPILE_EXAMPLES "Select this if you want to build the examples" OFF)
|
||||||
OPTION(COMPILE_TESTS "Select this if you want to build the tests" OFF)
|
OPTION(COMPILE_TESTS "Select this if you want to build the tests" OFF)
|
||||||
OPTION(PROFILING_ENABLED "Select this if you want to compile with enabled profiling" OFF)
|
OPTION(PROFILING_ENABLED "Select this if you want to compile with enabled profiling" OFF)
|
||||||
|
OPTION(DOUBLE_PRECISION_ENABLED "Select this if you want to compile using double precision floating
|
||||||
|
values" OFF)
|
||||||
# Headers
|
# Headers
|
||||||
INCLUDE_DIRECTORIES(src)
|
INCLUDE_DIRECTORIES(src)
|
||||||
|
|
||||||
|
@ -22,6 +23,10 @@ IF (PROFILING_ENABLED)
|
||||||
ADD_DEFINITIONS(-DIS_PROFILING_ACTIVE)
|
ADD_DEFINITIONS(-DIS_PROFILING_ACTIVE)
|
||||||
ENDIF (PROFILING_ENABLED)
|
ENDIF (PROFILING_ENABLED)
|
||||||
|
|
||||||
|
IF (DOUBLE_PRECISION_ENABLED)
|
||||||
|
ADD_DEFINITIONS(-DIS_DOUBLE_PRECISION_ENABLED)
|
||||||
|
ENDIF (DOUBLE_PRECISION_ENABLED)
|
||||||
|
|
||||||
# Library configuration
|
# Library configuration
|
||||||
file (
|
file (
|
||||||
GLOB_RECURSE
|
GLOB_RECURSE
|
||||||
|
|
Loading…
Reference in New Issue
Block a user