|
|
@ -20,6 +20,7 @@ include(ExternalProject) |
|
|
|
############################################################# |
|
|
|
option(STORM_DEVELOPER "Sets whether the development mode is used" OFF) |
|
|
|
option(STORM_USE_POPCNT "Sets whether the popcnt instruction is going to be used." ON) |
|
|
|
MARK_AS_ADVANCED(STORM_USE_POPCNT) |
|
|
|
option(USE_BOOST_STATIC_LIBRARIES "Sets whether the Boost libraries should be linked statically." ON) |
|
|
|
option(STORM_USE_INTELTBB "Sets whether the Intel TBB libraries should be used." OFF) |
|
|
|
option(STORM_USE_GUROBI "Sets whether Gurobi should be used." OFF) |
|
|
@ -29,8 +30,10 @@ option(USE_LIBCXX "Sets whether the standard library is libc++." OFF) |
|
|
|
option(USE_CARL "Sets whether carl should be included." ON) |
|
|
|
option(USE_XERCES "Sets whether xerces should be used." OFF) |
|
|
|
option(FORCE_COLOR "Force color output" OFF) |
|
|
|
mark_as_advanced(FORCE_COLOR) |
|
|
|
option(STORM_PYTHON "Builds the API for Python" OFF) |
|
|
|
option(STORM_COMPILE_WITH_CCACHE "Compile using CCache" ON) |
|
|
|
option(STORM_COMPILE_WITH_CCACHE "Compile using CCache [if found]" ON) |
|
|
|
mark_as_advanced(STORM_COMPILE_WITH_CCACHE) |
|
|
|
option(STORM_LOG_DISABLE_DEBUG "Disable log and trace message support" OFF) |
|
|
|
set(BOOST_ROOT "" CACHE STRING "A hint to the root directory of Boost (optional).") |
|
|
|
set(GUROBI_ROOT "" CACHE STRING "A hint to the root directory of Gurobi (optional).") |
|
|
@ -40,6 +43,12 @@ set(MSAT_ROOT "" CACHE STRING "The hint to the root directory of MathSAT (option |
|
|
|
set(ADDITIONAL_INCLUDE_DIRS "" CACHE STRING "Additional directories added to the include directories.") |
|
|
|
set(ADDITIONAL_LINK_DIRS "" CACHE STRING "Additional directories added to the link directories.") |
|
|
|
|
|
|
|
|
|
|
|
# Set some CMAKE Variables as advanced |
|
|
|
mark_as_advanced(CMAKE_OSX_ARCHITECTURES) |
|
|
|
mark_as_advanced(CMAKE_OSX_SYSROOT) |
|
|
|
mark_as_advanced(CMAKE_OSX_DEPLOYMENT_TARGET) |
|
|
|
|
|
|
|
# If the STORM_DEVELOPER option was turned on, we will target a debug version. |
|
|
|
if (STORM_DEVELOPER) |
|
|
|
message(STATUS "StoRM - Using development mode") |
|
|
@ -50,6 +59,7 @@ message(STATUS "StoRM - Building ${CMAKE_BUILD_TYPE} version.") |
|
|
|
|
|
|
|
if(STORM_COMPILE_WITH_CCACHE) |
|
|
|
find_program(CCACHE_FOUND ccache) |
|
|
|
mark_as_advanced(CCACHE_FOUND) |
|
|
|
if(CCACHE_FOUND) |
|
|
|
message(STATUS "StoRM - Using ccache") |
|
|
|
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache) |
|
|
|