You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

431 lines
17 KiB

  1. cmake_minimum_required (VERSION 3.2)
  2. cmake_policy(VERSION 3.2)
  3. # Set project name
  4. project (storm CXX C)
  5. # Add base folder for better inclusion paths
  6. include_directories("${PROJECT_SOURCE_DIR}/src")
  7. include_directories("${PROJECT_SOURCE_DIR}/src/storm")
  8. # Add the resources/cmake folder to Module Search Path for FindTBB.cmake
  9. set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/resources/cmake/find_modules" "${PROJECT_SOURCE_DIR}/resources/cmake/macros")
  10. include(ExternalProject)
  11. include(RegisterSourceGroup)
  12. include(imported)
  13. #############################################################
  14. ##
  15. ## CMake options of storm
  16. ##
  17. #############################################################
  18. option(STORM_DEVELOPER "Sets whether the development mode is used." OFF)
  19. option(STORM_ALLWARNINGS "Compile with even more warnings" OFF)
  20. option(STORM_USE_LTO "Sets whether link-time optimizations are enabled." ON)
  21. MARK_AS_ADVANCED(STORM_USE_LTO)
  22. option(STORM_PORTABLE "Sets whether a build needs to be portable." OFF)
  23. MARK_AS_ADVANCED(STORM_PORTABLE)
  24. option(STORM_USE_POPCNT "Sets whether the popcnt instruction is going to be used." ON)
  25. MARK_AS_ADVANCED(STORM_USE_POPCNT)
  26. option(USE_BOOST_STATIC_LIBRARIES "Sets whether the Boost libraries should be linked statically." OFF)
  27. option(STORM_USE_INTELTBB "Sets whether the Intel TBB libraries should be used." OFF)
  28. option(STORM_USE_GUROBI "Sets whether Gurobi should be used." OFF)
  29. option(USE_CARL "Sets whether carl should be included." ON)
  30. option(STORM_FORCE_SHIPPED_CARL "Sets whether the shipped version of carl is to be used no matter whether carl is found or not." OFF)
  31. MARK_AS_ADVANCED(STORM_FORCE_SHIPPED_CARL)
  32. option(USE_SMTRAT "Sets whether SMT-RAT should be included." OFF)
  33. option(USE_HYPRO "Sets whether HyPro should be included." OFF)
  34. option(XML_SUPPORT "Sets whether xml based format parsing should be included." ON)
  35. option(FORCE_COLOR "Force color output" OFF)
  36. mark_as_advanced(FORCE_COLOR)
  37. option(STORM_COMPILE_WITH_CCACHE "Compile using CCache [if found]" ON)
  38. mark_as_advanced(STORM_COMPILE_WITH_CCACHE)
  39. option(STORM_LOG_DISABLE_DEBUG "Disable log and trace message support" OFF)
  40. option(STORM_USE_CLN_NUMBERS "Sets whether CLN or GMP numbers should be used" ON)
  41. option(BUILD_SHARED_LIBS "Build the storm library dynamically" OFF)
  42. set(BOOST_ROOT "" CACHE STRING "A hint to the root directory of Boost (optional).")
  43. set(GUROBI_ROOT "" CACHE STRING "A hint to the root directory of Gurobi (optional).")
  44. set(Z3_ROOT "" CACHE STRING "A hint to the root directory of Z3 (optional).")
  45. set(CUDA_ROOT "" CACHE STRING "The hint to the root directory of CUDA (optional).")
  46. set(MSAT_ROOT "" CACHE STRING "The hint to the root directory of MathSAT (optional).")
  47. set(ADDITIONAL_INCLUDE_DIRS "" CACHE STRING "Additional directories added to the include directories.")
  48. set(ADDITIONAL_LINK_DIRS "" CACHE STRING "Additional directories added to the link directories.")
  49. set(USE_XERCESC ${XML_SUPPORT})
  50. mark_as_advanced(USE_XERCESC)
  51. # Sets the source from which storm is obtained. Can be either "git" or "archive". This
  52. # influences, among other things, the version information.
  53. set(STORM_SOURCE "git" CACHE STRING "The source from which storm is obtained: either 'git' or 'archive'.")
  54. mark_as_advanced(STORM_SOURCE)
  55. # Set some CMAKE Variables as advanced
  56. mark_as_advanced(CMAKE_OSX_ARCHITECTURES)
  57. mark_as_advanced(CMAKE_OSX_SYSROOT)
  58. mark_as_advanced(CMAKE_OSX_DEPLOYMENT_TARGET)
  59. # Offer the user the choice of overriding the installation directories
  60. set(INCLUDE_INSTALL_DIR include/ CACHE PATH "Installation directory for header files" )
  61. set(LIB_INSTALL_DIR lib/ CACHE PATH "Installation directory for libraries")
  62. #set(SYSCONFIG_INSTALL_DIR etc/carl/ CACHE PATH "Installation for system configuration files)
  63. set(BIN_INSTALL_DIR lib/ CACHE PATH "Installation directory for executables")
  64. # Install dir for cmake files (info for other libraries that include storm)
  65. set(DEF_INSTALL_CMAKE_DIR "lib/CMake/storm")
  66. set(CMAKE_INSTALL_DIR ${DEF_INSTALL_CMAKE_DIR} CACHE PATH "Installation directory for CMake files")
  67. message("CMAKE_INSTALL_DIR: ${CMAKE_INSTALL_DIR}")
  68. # If the STORM_DEVELOPER option was turned on, by default we target a debug version, otherwise a release version.
  69. if (STORM_DEVELOPER)
  70. if (NOT CMAKE_BUILD_TYPE)
  71. set(CMAKE_BUILD_TYPE "DEBUG")
  72. endif()
  73. add_definitions(-DSTORM_DEV)
  74. else()
  75. set(STORM_LOG_DISABLE_DEBUG ON)
  76. if (NOT CMAKE_BUILD_TYPE)
  77. set(CMAKE_BUILD_TYPE "RELEASE")
  78. endif()
  79. endif()
  80. message(STATUS "storm - Building ${CMAKE_BUILD_TYPE} version.")
  81. if(STORM_COMPILE_WITH_CCACHE)
  82. find_program(CCACHE_FOUND ccache)
  83. mark_as_advanced(CCACHE_FOUND)
  84. if(CCACHE_FOUND)
  85. message(STATUS "storm - Using ccache")
  86. set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
  87. set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
  88. else()
  89. message(STATUS "storm - Could not find ccache.")
  90. endif()
  91. endif()
  92. # Directory for test resources.
  93. set(STORM_TEST_RESOURCES_DIR "${PROJECT_SOURCE_DIR}/resources/examples/testfiles")
  94. # Auto-detect operating system.
  95. set(MACOSX 0)
  96. set(LINUX 0)
  97. if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
  98. # Mac OS
  99. set(OPERATING_SYSTEM "Mac OS")
  100. set(MACOSX 1)
  101. elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
  102. # Linux
  103. set(OPERATING_SYSTEM "Linux")
  104. set(LINUX 1)
  105. elseif(WIN32)
  106. # Assuming Windows.
  107. set(OPERATING_SYSTEM "Windows")
  108. else()
  109. message(WARNING "We are unsure about your operating system.")
  110. set(OPERATING_SYSTEM "Linux")
  111. set(LINUX 1)
  112. ENDIF()
  113. message(STATUS "storm - Detected operating system ${OPERATING_SYSTEM}.")
  114. set(DYNAMIC_EXT ".so")
  115. set(STATIC_EXT ".a")
  116. set(LIB_PREFIX "lib")
  117. if(MACOSX)
  118. set(DYNAMIC_EXT ".dylib")
  119. set(STATIC_EXT ".a")
  120. set(LIB_PREFIX "lib")
  121. elseif (WIN32)
  122. set(DYNAMIC_EXT ".dll")
  123. set(STATIC_EXT ".lib")
  124. set(LIB_PREFIX "")
  125. endif()
  126. message(STATUS "Assuming extension for shared libraries: ${DYNAMIC_EXT}")
  127. message(STATUS "Assuming extension for static libraries: ${STATIC_EXT}")
  128. if(BUILD_SHARED_LIBS)
  129. set(LIB_EXT ${DYNAMIC_EXT})
  130. message(STATUS "Build dynamic libraries.")
  131. else()
  132. set(LIB_EXT ${STATIC_EXT})
  133. message(STATUS "Build static libraries.")
  134. endif()
  135. #############################################################
  136. ##
  137. ## Compiler detection and initial configuration
  138. ##
  139. #############################################################
  140. if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
  141. # using Clang
  142. if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.2)
  143. message(FATAL_ERROR "Clang version must be at least 3.2.")
  144. endif()
  145. set(STORM_COMPILER_CLANG ON)
  146. set(CLANG ON)
  147. set(STORM_COMPILER_ID "clang")
  148. elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang")
  149. # using AppleClang
  150. if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.3)
  151. message(FATAL_ERROR "AppleClang version must be at least 7.3.")
  152. endif()
  153. set(STORM_COMPILER_APPLECLANG ON)
  154. set(CLANG ON)
  155. set(STORM_COMPILER_ID "AppleClang")
  156. set(CMAKE_MACOSX_RPATH ON)
  157. elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
  158. # using GCC
  159. if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0)
  160. message(FATAL_ERROR "gcc version must be at least 5.0.")
  161. endif()
  162. set(STORM_COMPILER_GCC ON)
  163. set(STORM_COMPILER_ID "gcc")
  164. elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel")
  165. message(FATAL_ERROR "Intel compiler is currently not supported.")
  166. elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
  167. message(FATAL_ERROR "Visual Studio compiler is currently not supported.")
  168. endif()
  169. set(STORM_COMPILER_VERSION ${CMAKE_CXX_COMPILER_VERSION})
  170. if(CCACHE_FOUND)
  171. set(STORM_COMPILER_ID "${STORM_COMPILER_ID} (ccache)")
  172. endif()
  173. #############################################################
  174. ##
  175. ## Compiler independent settings
  176. ##
  177. #############################################################
  178. if (STORM_USE_POPCNT)
  179. set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mpopcnt")
  180. endif()
  181. # TODO: remove forcing the old version of optional as soon as the related Spirit bug is fixed:
  182. # https://svn.boost.org/trac/boost/ticket/12349
  183. # Fix thanks to: https://github.com/freeorion/freeorion/issues/777
  184. add_definitions(-DBOOST_RESULT_OF_USE_DECLTYPE -DBOOST_OPTIONAL_CONFIG_USE_OLD_IMPLEMENTATION_OF_OPTIONAL)
  185. #############################################################
  186. ##
  187. ## Compiler specific settings
  188. ##
  189. #############################################################
  190. if (STORM_COMPILER_CLANG OR STORM_COMPILER_APPLECLANG)
  191. if(FORCE_COLOR)
  192. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fcolor-diagnostics")
  193. endif()
  194. if (LINUX)
  195. set(CLANG_STDLIB libstdc++)
  196. else()
  197. set(CLANG_STDLIB libc++)
  198. endif()
  199. set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -stdlib=${CLANG_STDLIB} -ftemplate-depth=1024")
  200. set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -ffast-math -fno-finite-math-only")
  201. set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-export_dynamic")
  202. set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-export_dynamic")
  203. elseif (STORM_COMPILER_GCC)
  204. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
  205. set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -flto -fprefetch-loop-arrays -ffast-math -fno-finite-math-only")
  206. set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -rdynamic")
  207. set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -rdynamic")
  208. endif ()
  209. if (STORM_USE_LTO)
  210. set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -flto")
  211. endif()
  212. # In release mode, we turn on even more optimizations if we do not have to provide a portable binary.
  213. if (NOT STORM_PORTABLE)
  214. set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -march=native")
  215. endif ()
  216. if (STORM_DEVELOPER)
  217. set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic")
  218. if (STORM_ALLWARNINGS)
  219. if (CLANG)
  220. # Enable strictly every warning and then disable selected ones.
  221. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Weverything")
  222. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-c++98-compat -Wno-c++98-compat-pedantic")
  223. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-old-style-cast")
  224. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-reserved-id-macro")
  225. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-newline-eof")
  226. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-documentation")
  227. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-weak-vtables")
  228. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-global-constructors")
  229. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-exit-time-destructors")
  230. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-switch-enum")
  231. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-covered-switch-default")
  232. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-padded")
  233. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-float-equal")
  234. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-local-typedef")
  235. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-missing-variable-declarations")
  236. endif ()
  237. else ()
  238. set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra")
  239. set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-pragmas")
  240. set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-local-typedefs")
  241. endif ()
  242. else()
  243. set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fomit-frame-pointer")
  244. endif()
  245. #############################################################
  246. ##
  247. ## RPATH settings
  248. ##
  249. #############################################################
  250. # don't skip the full RPATH for the build tree
  251. SET(CMAKE_SKIP_BUILD_RPATH FALSE)
  252. # when building, don't use the install RPATH already (but only when installing)
  253. SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
  254. # the RPATH to be used when installing
  255. SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
  256. # don't add the automatically determined parts of the RPATH
  257. # which point to directories outside the build tree to the install RPATH
  258. SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
  259. #############################################################
  260. ##
  261. ## Generator specific settings
  262. ##
  263. #############################################################
  264. if ("${CMAKE_GENERATOR}" STREQUAL "Xcode")
  265. set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LANGUAGE_STANDARD "c++11")
  266. set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++")
  267. endif()
  268. # Display information about build configuration.
  269. message(STATUS "storm - Using compiler configuration ${STORM_COMPILER_ID} ${STORM_COMPILER_VERSION}.")
  270. if (STORM_DEVELOPER)
  271. message(STATUS "storm - CXX Flags: ${CMAKE_CXX_FLAGS}")
  272. message(STATUS "storm - CXX Debug Flags: ${CMAKE_CXX_FLAGS_DEBUG}")
  273. message(STATUS "storm - CXX Release Flags: ${CMAKE_CXX_FLAGS_RELEASE}")
  274. message(STATUS "storm - Build type: ${CMAKE_BUILD_TYPE}")
  275. endif()
  276. #############################################################
  277. #############################################################
  278. ##
  279. ## Inclusion of required libraries
  280. ##
  281. #############################################################
  282. #############################################################
  283. #############################################################
  284. ##
  285. ## Include the targets for non-system resources
  286. ##
  287. #############################################################
  288. # In 3rdparty, targets are being defined that can be used
  289. # in the the system does not have a library
  290. include(resources/3rdparty/CMakeLists.txt)
  291. #############################################################
  292. ##
  293. ## Doxygen
  294. ##
  295. #############################################################
  296. find_package(Doxygen)
  297. # Add a target to generate API documentation with Doxygen
  298. if(DOXYGEN_FOUND)
  299. set(CMAKE_DOXYGEN_OUTPUT_DIR "${CMAKE_CURRENT_BINARY_DIR}/doc")
  300. string(REGEX REPLACE ";" " " CMAKE_DOXYGEN_INPUT_LIST "${PROJECT_SOURCE_DIR}/src")
  301. configure_file("${CMAKE_CURRENT_SOURCE_DIR}/resources/doxygen/Doxyfile.in" "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" @ONLY)
  302. add_custom_target(doc ${DOXYGEN_EXECUTABLE} "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" COMMENT "Generating API documentation with Doxygen" VERBATIM)
  303. endif(DOXYGEN_FOUND)
  304. #############################################################
  305. ##
  306. ## CMake-generated Config File for storm
  307. ##
  308. #############################################################
  309. # If storm is built from an archive, we need to skip the version detection based on git.
  310. if (STORM_SOURCE STREQUAL "archive")
  311. if (NOT DEFINED STORM_VERSION_MAJOR OR NOT DEFINED STORM_VERSION_MINOR OR NOT DEFINED STORM_VERSION_PATCH)
  312. message(FATAL_ERROR "storm - building from archive requires setting a version via cmake.")
  313. endif()
  314. message(STATUS "storm - version is ${STORM_VERSION_MAJOR}.${STORM_VERSION_MINOR}.${STORM_VERSION_PATCH} (building from archive).")
  315. set(STORM_VERSION_COMMITS_AHEAD boost::none)
  316. set(STORM_VERSION_GIT_HASH boost::none)
  317. set(STORM_VERSION_DIRTY boost::none)
  318. else()
  319. if (DEFINED STORM_VERSION_MAJOR OR DEFINED STORM_VERSION_MINOR OR DEFINED STORM_VERSION_PATCH)
  320. message(FATAL_ERROR "storm - building from git does not support setting a version via cmake.")
  321. endif()
  322. # Make a version file containing the current version from git.
  323. include(GetGitRevisionDescription)
  324. get_git_head_revision(STORM_VERSION_REFSPEC STORM_VERSION_GIT_HASH)
  325. git_describe_checkout(STORM_GIT_VERSION_STRING)
  326. # Parse the git Tag into variables
  327. string(REGEX REPLACE "^([0-9]+)\\..*" "\\1" STORM_VERSION_MAJOR "${STORM_GIT_VERSION_STRING}")
  328. string(REGEX REPLACE "^[0-9]+\\.([0-9]+).*" "\\1" STORM_VERSION_MINOR "${STORM_GIT_VERSION_STRING}")
  329. string(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.([0-9]+).*" "\\1" STORM_VERSION_PATCH "${STORM_GIT_VERSION_STRING}")
  330. string(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.[0-9]+\\-([0-9]+)\\-.*" "\\1" STORM_VERSION_COMMITS_AHEAD "${STORM_GIT_VERSION_STRING}")
  331. string(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.[0-9]+\\-[0-9]+\\-([a-z0-9]+).*" "\\1" STORM_VERSION_TAG_HASH "${STORM_GIT_VERSION_STRING}")
  332. string(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.[0-9]+\\-[0-9]+\\-[a-z0-9]+\\-(.*)" "\\1" STORM_VERSION_APPENDIX "${STORM_GIT_VERSION_STRING}")
  333. if ("${STORM_VERSION_APPENDIX}" MATCHES "^.*dirty.*$")
  334. set(STORM_VERSION_DIRTY 1)
  335. else()
  336. set(STORM_VERSION_DIRTY 0)
  337. endif()
  338. if (STORM_VERSION_DIRTY)
  339. set(STORM_VERSION_DIRTY_STR "yes")
  340. else()
  341. set(STORM_VERSION_DIRTY_STR "no")
  342. endif()
  343. message(STATUS "storm - version is ${STORM_VERSION_MAJOR}.${STORM_VERSION_MINOR}.${STORM_VERSION_PATCH} (${STORM_VERSION_COMMITS_AHEAD} commits ahead of tag), building from git: ${STORM_VERSION_GIT_HASH} (dirty: ${STORM_VERSION_DIRTY_STR}).")
  344. # proper type conversion so we can assign it to an optional
  345. set(STORM_VERSION_GIT_HASH "std::string(\"${STORM_VERSION_GIT_HASH}\")")
  346. endif()
  347. # Configure a header file to pass some of the CMake settings to the source code
  348. configure_file (
  349. "${PROJECT_SOURCE_DIR}/storm-config.h.in"
  350. "${PROJECT_BINARY_DIR}/include/storm-config.h"
  351. )
  352. # Configure a source file to pass the storm version to the source code
  353. configure_file (
  354. "${PROJECT_SOURCE_DIR}/storm-version.cpp.in"
  355. "${PROJECT_SOURCE_DIR}/src/storm/utility/storm-version.cpp"
  356. )
  357. set(STORM_GENERATED_SOURCES "${PROJECT_BINARY_DIR}/src/storm/utility/storm-version.cpp")
  358. # Add the binary dir include directory for storm-config.h
  359. include_directories("${PROJECT_BINARY_DIR}/include")
  360. include(CTest)
  361. # Compiles all tests
  362. add_custom_target(tests)
  363. # Compiles and runs all tests
  364. add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND})
  365. set(CMAKE_CTEST_COMMAND_VERBOSE ${CMAKE_CTEST_COMMAND} -V)
  366. add_custom_target(check-verbose COMMAND ${CMAKE_CTEST_COMMAND_VERBOSE})
  367. add_dependencies(check tests)
  368. add_dependencies(check-verbose tests)
  369. set(STORM_TARGETS "")
  370. add_subdirectory(src)
  371. include(export)
  372. include(StormCPackConfig.cmake)