Warning, /acts/Tests/CommonHelpers/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # get the path of the test data directory
0002 file(TO_NATIVE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../Data" acts_test_data_dir)
0003
0004 add_library(
0005 ActsTestsCommonHelpers
0006 SHARED
0007 Acts/Tests/CommonHelpers/DataDirectory.cpp
0008 Acts/Tests/CommonHelpers/CylindricalDetector.cpp
0009 )
0010 target_compile_definitions(
0011 ActsTestsCommonHelpers
0012 PRIVATE
0013 "ACTS_TEST_DATA_DIR=\"${acts_test_data_dir}\""
0014 BOOST_FILESYSTEM_NO_DEPRECATED
0015 )
0016 target_include_directories(
0017 ActsTestsCommonHelpers
0018 PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
0019 )
0020 target_link_libraries(
0021 ActsTestsCommonHelpers
0022 PUBLIC ActsCore
0023 PRIVATE std::filesystem
0024 )