From 5148cd71ea3ededfe9de0dc557c249a55ef601c7 Mon Sep 17 00:00:00 2001 From: sjunges Date: Thu, 21 Jul 2016 23:33:41 +0200 Subject: [PATCH] marked several CMAKE_VARIABLES as advanced to avoid cluttering ccmake Former-commit-id: ff9248b0556f5cf6777187f53e1191154f3f7beb --- CMakeLists.txt | 12 +++++++++++- resources/3rdparty/CMakeLists.txt | 1 + 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d84e80509..87119d85d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/resources/3rdparty/CMakeLists.txt b/resources/3rdparty/CMakeLists.txt index e931e1ed1..3802bb760 100644 --- a/resources/3rdparty/CMakeLists.txt +++ b/resources/3rdparty/CMakeLists.txt @@ -7,6 +7,7 @@ set(STORM_3RDPARTY_BINARY_DIR ${PROJECT_BINARY_DIR}/resources/3rdparty) #### #### Find autoreconf for cudd update step find_program(AUTORECONF autoreconf) +mark_as_advanced(AUTORECONF) ############################################################# ##