Back to home page

EIC code displayed by LXR

 
 

    


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

0001 include(ActsTargetLinkLibrariesSystem)
0002 
0003 set(ActsExamplesFramework_SOURCES)
0004 
0005 add_library(
0006     ActsExamplesFramework
0007     SHARED
0008     src/EventData/MuonSpacePoint.cpp
0009     src/EventData/Measurement.cpp
0010     src/EventData/MeasurementCalibration.cpp
0011     src/EventData/ScalingCalibrator.cpp
0012     src/EventData/SimParticle.cpp
0013     src/Framework/IAlgorithm.cpp
0014     src/Framework/SequenceElement.cpp
0015     src/Framework/WhiteBoard.cpp
0016     src/Framework/RandomNumbers.cpp
0017     src/Framework/Sequencer.cpp
0018     src/Framework/DataHandle.cpp
0019     src/Framework/BufferedReader.cpp
0020     src/Utilities/EventDataTransforms.cpp
0021     src/Utilities/Paths.cpp
0022     src/Utilities/Options.cpp
0023     src/Utilities/Helpers.cpp
0024     src/Utilities/ParametricParticleGenerator.cpp
0025     src/Validation/DuplicationPlotTool.cpp
0026     src/Validation/EffPlotTool.cpp
0027     src/Validation/FakePlotTool.cpp
0028     src/Validation/ResPlotTool.cpp
0029     src/Validation/TrackClassification.cpp
0030     src/Validation/TrackQualityPlotTool.cpp
0031     src/Validation/TrackSummaryPlotTool.cpp
0032 )
0033 
0034 target_include_directories(
0035     ActsExamplesFramework
0036     PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
0037 )
0038 target_link_libraries(
0039     ActsExamplesFramework
0040     PUBLIC
0041         ActsCore
0042         ActsFatras
0043         ActsPluginFpeMonitoring
0044         Boost::boost
0045         ROOT::Core
0046         ROOT::Hist
0047         HepMC3::HepMC3
0048     PRIVATE std::filesystem
0049 )
0050 target_compile_definitions(
0051     ActsExamplesFramework
0052     PRIVATE BOOST_FILESYSTEM_NO_DEPRECATED
0053 )
0054 
0055 # newer DD4hep version require TBB and search internally for TBB in
0056 # config-only mode. to avoid mismatches we explicitly search using
0057 # config-only mode first to be sure that we find the same version.
0058 find_package(TBB ${_acts_tbb_version} CONFIG)
0059 
0060 if(NOT TBB_FOUND)
0061     # no version check possible when using the find module
0062     find_package(TBB ${_acts_tbb_version} MODULE REQUIRED)
0063 endif()
0064 
0065 target_link_libraries(ActsExamplesFramework PUBLIC TBB::tbb)
0066 
0067 acts_compile_headers(ActsExamplesFramework GLOB "include/**/*.hpp")
0068 
0069 install(
0070     TARGETS ActsExamplesFramework
0071     LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
0072 )
0073 
0074 install(DIRECTORY include/ActsExamples DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
0075 
0076 add_subdirectory_if(ML ACTS_BUILD_PLUGIN_ONNX)