Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 # add a unittest executable w/ default dependencies and register it
0002 macro(add_unittest _name)
0003   # for now we use the same name also for the target
0004   set(_target "ActsFatras${_name}")
0005   # assume source file and target share the name
0006   add_executable(${_target} "${_name}.cpp" ${ARGN})
0007   target_include_directories(
0008     ${_target}
0009     PRIVATE "${PROJECT_SOURCE_DIR}/Tests/Common")
0010   target_link_libraries(
0011     ${_target}
0012     PRIVATE ActsCore ActsFatras Boost::unit_test_framework)
0013   # register as unittest executable
0014   add_test(NAME ${_target} COMMAND ${_target})
0015 endmacro()
0016 
0017 add_subdirectory(Kernel)
0018 add_subdirectory(Physics)
0019 add_subdirectory(Selectors)