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