Warning, /acts/Plugins/Onnx/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_library(
0002 ActsPluginOnnx
0003 SHARED
0004 # header files
0005 include/Acts/Plugins/Onnx/OnnxRuntimeBase.hpp
0006 include/Acts/Plugins/Onnx/MLTrackClassifier.hpp
0007 include/Acts/Plugins/Onnx/AmbiguityTrackClassifier.hpp
0008 include/Acts/Plugins/Onnx/SeedClassifier.hpp
0009 # source files
0010 src/OnnxRuntimeBase.cpp
0011 src/MLTrackClassifier.cpp
0012 )
0013
0014 target_include_directories(
0015 ActsPluginOnnx
0016 PUBLIC
0017 $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
0018 $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
0019 )
0020
0021 target_link_libraries(ActsPluginOnnx PUBLIC ActsCore OnnxRuntime)
0022
0023 install(
0024 TARGETS ActsPluginOnnx
0025 EXPORT ActsPluginOnnxTargets
0026 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
0027 )
0028
0029 install(DIRECTORY include/Acts DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})