File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,10 @@ add_feature_info(CMAKE_INSTALL_RPATH_USE_LINK_PATH CMAKE_INSTALL_RPATH_USE_LINK_
163163
164164option (CODE_COVERAGE "Enable coverage reporting" OFF )
165165
166+ option (ENABLE_TEST_RADIAL "Build TimeIntegrator and radial tests" OFF )
167+ add_feature_info(ENABLE_TEST_RADIAL ENABLE_TEST_RADIAL "Build TimeIntegrator and radial tests" )
168+
169+
166170if (CODE_COVERAGE)
167171 if (CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang" )
168172 message (STATUS "Enabling coverage flags" )
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ endif()
3131add_executable (testLogging testLogging.cpp)
3232target_link_libraries (testLogging PRIVATE CADET::CompileOptions)
3333
34- if (NOT WIN32 )
34+ if (ENABLE_TEST_RADIAL )
3535 add_executable (testRadialKernel testRadialKernel.cpp TimeIntegrator.cpp ${CMAKE_SOURCE_DIR} /src/libcadet/Logging.cpp ${CMAKE_SOURCE_DIR} /src/libcadet/AutoDiff.cpp ${CMAKE_SOURCE_DIR} /src/libcadet/model/paramdep/ParameterDependenceBase.cpp)
3636 target_link_libraries (testRadialKernel PRIVATE CADET::CompileOptions CADET::AD SUNDIALS::sundials_idas ${SUNDIALS_NVEC_TARGET} ${EIGEN_TARGET} )
3737 target_include_directories (testRadialKernel PRIVATE ${CMAKE_SOURCE_DIR} /test ${CMAKE_BINARY_DIR} /src/libcadet)
You can’t perform that action at this time.
0 commit comments