Back to home page

EIC code displayed by LXR

 
 

    


Warning, /acts/Tests/IntegrationTests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # integration tests are different and should not be registered with the
0002 # preconfigured `tests` target. manually add a separate one.
0003 add_custom_target(integrationtests)
0004 # add an integrationtest executable w/ default dependencies and register it.
0005 #
0006 # the common libraries which are linked to every integrationtest can be
0007 # extended by setting the `integrationtest_extra_libraries` variables before
0008 # calling the macro.
0009 macro(add_integrationtest _name)
0010     # automatically prefix the target name
0011     set(_target "ActsIntegrationTest${_name}")
0012     add_executable(${_target} ${ARGN})
0013     # define required BOOST_TEST_... macros here to ensure consistent names
0014     target_compile_definitions(
0015         ${_target}
0016         PRIVATE "-DBOOST_TEST_DYN_LINK" "-DBOOST_TEST_MODULE=${_target}"
0017     )
0018     target_include_directories(${_target} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
0019     target_link_libraries(
0020         ${_target}
0021         PRIVATE
0022             ActsCore
0023             ActsTestsCommonHelpers
0024             Boost::unit_test_framework
0025             ${integrationtest_extra_libraries}
0026     )
0027     # register as integration test executable
0028     set(_run "RunIntegrationTest${_name}")
0029     add_custom_target(${_run} COMMAND ${_target})
0030     add_dependencies(integrationtests ${_run})
0031 endmacro()
0032 
0033 add_integrationtest(InterpolatedSolenoidBField InterpolatedSolenoidBFieldTest.cpp)
0034 add_integrationtest(NavigatorConsistency NavigatorConsistency.cpp)
0035 add_integrationtest(PrintDataDirectory PrintDataDirectory.cpp)
0036 add_integrationtest(PropagationAtlasConstant PropagationAtlasConstant.cpp)
0037 add_integrationtest(PropagationDenseConstant PropagationDenseConstant.cpp)
0038 add_integrationtest(PropagationEigenConstant PropagationEigenConstant.cpp)
0039 add_integrationtest(PropagationStraightLine PropagationStraightLine.cpp)
0040 add_integrationtest(PropagationCompareAtlasEigenConstant PropagationCompareAtlasEigenConstant.cpp)
0041 add_integrationtest(PropagationCompareEigenStraightLine PropagationCompareEigenStraightLine.cpp)
0042 add_integrationtest(PropagationBentTracks PropagationBentTracks.cpp)
0043 
0044 add_subdirectory_if(Fatras ACTS_BUILD_FATRAS)
0045 add_subdirectory_if(Legacy ACTS_BUILD_PLUGIN_LEGACY)