Warning, /jana2/src/examples/PodioDatamodel/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001
0002 if (USE_PODIO)
0003
0004 PODIO_GENERATE_DATAMODEL(PodioDatamodel datamodel.yaml headers sources
0005 IO_BACKEND_HANDLERS ROOT
0006 OUTPUT_FOLDER ${CMAKE_CURRENT_BINARY_DIR}
0007 )
0008
0009 PODIO_ADD_DATAMODEL_CORE_LIB(PodioDatamodel "${headers}" "${sources}"
0010 OUTPUT_FOLDER ${CMAKE_CURRENT_BINARY_DIR})
0011
0012 PODIO_ADD_ROOT_IO_DICT(PodioDatamodelDict PodioDatamodel "${headers}"
0013 ${CMAKE_CURRENT_BINARY_DIR}/src/selection.xml)
0014
0015 install(TARGETS PodioDatamodel
0016 EXPORT jana2_targets
0017 LIBRARY DESTINATION lib
0018 PUBLIC_HEADER DESTINATION include/JANA/examples/PodioDatamodel
0019 )
0020
0021 install(TARGETS PodioDatamodelDict
0022 EXPORT jana2_targets
0023 DESTINATION lib
0024 )
0025
0026 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/PodioDatamodelDictDict.rootmap DESTINATION lib)
0027 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libPodioDatamodelDict_rdict.pcm DESTINATION lib)
0028
0029 else()
0030 message(STATUS "Skipping examples/PodioDatamodel because USE_PODIO=Off")
0031
0032 endif()
0033
0034
0035