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 SHARED
0006 Acts/Tests/CommonHelpers/DataDirectory.cpp
0007 )
0008 target_compile_definitions(
0009 ActsTestsCommonHelpers
0010 PRIVATE
0011 "ACTS_TEST_DATA_DIR=\"${acts_test_data_dir}\""
0012 BOOST_FILESYSTEM_NO_DEPRECATED)
0013 target_include_directories(
0014 ActsTestsCommonHelpers
0015 PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
0016 target_link_libraries(
0017 ActsTestsCommonHelpers
0018 PUBLIC ActsCore
0019 PRIVATE std::filesystem)