mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-17 13:01:41 +00:00
Changed: #842 Added FINAL_VERSION for NeL
This commit is contained in:
parent
58b223ce76
commit
5d9a8e2d06
2 changed files with 8 additions and 3 deletions
|
@ -185,6 +185,10 @@ NL_SETUP_BUILD_FLAGS()
|
||||||
|
|
||||||
INCLUDE(${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/PCHSupport.cmake)
|
INCLUDE(${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/PCHSupport.cmake)
|
||||||
|
|
||||||
|
IF(FINAL_VERSION)
|
||||||
|
ADD_DEFINITIONS(-DFINAL_VERSION=1)
|
||||||
|
ENDIF(FINAL_VERSION)
|
||||||
|
|
||||||
ADD_SUBDIRECTORY(src)
|
ADD_SUBDIRECTORY(src)
|
||||||
ADD_SUBDIRECTORY(include)
|
ADD_SUBDIRECTORY(include)
|
||||||
|
|
||||||
|
|
|
@ -91,6 +91,7 @@ MACRO(NL_SETUP_DEFAULT_OPTIONS)
|
||||||
OPTION(WITH_LOGGING "With Logging" ON )
|
OPTION(WITH_LOGGING "With Logging" ON )
|
||||||
OPTION(WITH_COVERAGE "With Code Coverage Support" OFF)
|
OPTION(WITH_COVERAGE "With Code Coverage Support" OFF)
|
||||||
OPTION(WITH_PCH "With Precompiled Headers" ON )
|
OPTION(WITH_PCH "With Precompiled Headers" ON )
|
||||||
|
OPTION(FINAL_VERSION "Build in Final Version mode" ON )
|
||||||
|
|
||||||
# Default to static building on Windows.
|
# Default to static building on Windows.
|
||||||
IF(WIN32)
|
IF(WIN32)
|
||||||
|
@ -98,7 +99,7 @@ MACRO(NL_SETUP_DEFAULT_OPTIONS)
|
||||||
ELSE(WIN32)
|
ELSE(WIN32)
|
||||||
OPTION(WITH_STATIC "With static libraries." OFF)
|
OPTION(WITH_STATIC "With static libraries." OFF)
|
||||||
ENDIF(WIN32)
|
ENDIF(WIN32)
|
||||||
OPTION(WITH_STATIC_DRIVERS "With static drivers." OFF)
|
OPTION(WITH_STATIC_DRIVERS "With static drivers." OFF)
|
||||||
|
|
||||||
###
|
###
|
||||||
# Core libraries
|
# Core libraries
|
||||||
|
|
Loading…
Reference in a new issue