added CMake option ENABLE_CHECK_INTERNAL (#2557)
This commit is contained in:
parent
6ea4f60600
commit
8949c7e569
|
@ -7,3 +7,6 @@ if (UNIX)
|
||||||
endif()
|
endif()
|
||||||
add_definitions(-DFILESDIR="${FILESDIR}")
|
add_definitions(-DFILESDIR="${FILESDIR}")
|
||||||
endif()
|
endif()
|
||||||
|
if (ENABLE_CHECK_INTERNAL)
|
||||||
|
add_definitions(-DCHECK_INTERNAL)
|
||||||
|
endif()
|
||||||
|
|
|
@ -36,6 +36,7 @@ else()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(BUILD_TESTS "Build tests" OFF)
|
option(BUILD_TESTS "Build tests" OFF)
|
||||||
|
option(ENABLE_CHECK_INTERNAL "Enable internal checks" OFF)
|
||||||
option(BUILD_GUI "Build the qt application" OFF)
|
option(BUILD_GUI "Build the qt application" OFF)
|
||||||
option(WITH_QCHART "When building GUI(need BUILD_GUI=ON), use Qt5 Charts" OFF)
|
option(WITH_QCHART "When building GUI(need BUILD_GUI=ON), use Qt5 Charts" OFF)
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,7 @@ else()
|
||||||
message( STATUS "BUILD_SHARED_LIBS = ${BUILD_SHARED_LIBS}" )
|
message( STATUS "BUILD_SHARED_LIBS = ${BUILD_SHARED_LIBS}" )
|
||||||
endif(NOT DEFINED BUILD_SHARED_LIBS)
|
endif(NOT DEFINED BUILD_SHARED_LIBS)
|
||||||
message( STATUS "BUILD_TESTS = ${BUILD_TESTS}" )
|
message( STATUS "BUILD_TESTS = ${BUILD_TESTS}" )
|
||||||
|
message( STATUS "ENABLE_CHECK_INTERNAL = ${ENABLE_CHECK_INTERNAL}" )
|
||||||
message( STATUS "BUILD_GUI = ${BUILD_GUI}" )
|
message( STATUS "BUILD_GUI = ${BUILD_GUI}" )
|
||||||
message( STATUS "WITH_QCHART = ${WITH_QCHART}" )
|
message( STATUS "WITH_QCHART = ${WITH_QCHART}" )
|
||||||
message( STATUS )
|
message( STATUS )
|
||||||
|
|
Loading…
Reference in New Issue