Back to home page

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