|
@ -50,13 +50,13 @@ option(USE_POPCNT "Sets whether the popcnt instruction is going to be used." ON) |
|
|
option(USE_BOOST_STATIC_LIBRARIES "Sets whether the Boost libraries should be linked statically." ON) |
|
|
option(USE_BOOST_STATIC_LIBRARIES "Sets whether the Boost libraries should be linked statically." ON) |
|
|
|
|
|
|
|
|
# If the DEBUG option was turned on, we will target a debug version and a release version otherwise |
|
|
# If the DEBUG option was turned on, we will target a debug version and a release version otherwise |
|
|
if (DEBUG) |
|
|
|
|
|
set (CMAKE_BUILD_TYPE "DEBUG") |
|
|
|
|
|
message(STATUS "Building DEBUG version.") |
|
|
|
|
|
else() |
|
|
|
|
|
set (CMAKE_BUILD_TYPE "RELEASE") |
|
|
|
|
|
message(STATUS "Building RELEASE version.") |
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
#if (DEBUG) |
|
|
|
|
|
# set (CMAKE_BUILD_TYPE "DEBUG") |
|
|
|
|
|
# message(STATUS "Building DEBUG version.") |
|
|
|
|
|
#else() |
|
|
|
|
|
# set (CMAKE_BUILD_TYPE "RELEASE") |
|
|
|
|
|
# message(STATUS "Building RELEASE version.") |
|
|
|
|
|
#endif() |
|
|
|
|
|
|
|
|
message(STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}") |
|
|
message(STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}") |
|
|
message(STATUS "CMAKE_BUILD_TYPE (ENV): $ENV{CMAKE_BUILD_TYPE}") |
|
|
message(STATUS "CMAKE_BUILD_TYPE (ENV): $ENV{CMAKE_BUILD_TYPE}") |
|
|