Warning, /acts/Plugins/Json/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include(ActsTargetLinkLibrariesSystem)
0002
0003 add_library(
0004 ActsPluginJson
0005 SHARED
0006 src/AlgebraJsonConverter.cpp
0007 src/DetectorJsonConverter.cpp
0008 src/DetectorVolumeJsonConverter.cpp
0009 src/ExtentJsonConverter.cpp
0010 src/GridJsonConverter.cpp
0011 src/DetectorVolumeFinderJsonConverter.cpp
0012 src/IndexedSurfacesJsonConverter.cpp
0013 src/JsonMaterialDecorator.cpp
0014 src/MaterialMapJsonConverter.cpp
0015 src/MaterialJsonConverter.cpp
0016 src/PortalJsonConverter.cpp
0017 src/ProtoDetectorJsonConverter.cpp
0018 src/SurfaceBoundsJsonConverter.cpp
0019 src/SurfaceJsonConverter.cpp
0020 src/UtilitiesJsonConverter.cpp
0021 src/VolumeBoundsJsonConverter.cpp
0022 src/VolumeJsonConverter.cpp
0023 src/AmbiguityConfigJsonConverter.cpp
0024 src/DetrayJsonHelper.cpp
0025 src/JsonDetectorElement.cpp
0026 src/JsonSurfacesReader.cpp
0027 )
0028 target_include_directories(
0029 ActsPluginJson
0030 PUBLIC
0031 $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/>
0032 $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
0033 )
0034 target_link_libraries(
0035 ActsPluginJson
0036 PUBLIC ActsCore nlohmann_json::nlohmann_json
0037 )
0038 target_compile_definitions(
0039 ActsPluginJson
0040 PRIVATE JSON_DISABLE_ENUM_SERIALIZATION=1
0041 )
0042
0043 install(
0044 TARGETS ActsPluginJson
0045 EXPORT ActsPluginJsonTargets
0046 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
0047 )
0048 install(DIRECTORY include/Acts DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})