Warning, /jana2/src/examples/PodioExample/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001
0002 set(PodioExample_SOURCES
0003 PodioExample.cc
0004 PodioExampleProcessor.cc
0005 ExampleClusterFactory.cc
0006 ExampleMultifactory.cc
0007 )
0008
0009 if (USE_PODIO)
0010
0011 add_executable(PodioExample ${PodioExample_SOURCES})
0012 target_link_libraries(PodioExample
0013 PUBLIC jana2_static_lib PodioDatamodel PodioDatamodelDict podio::podioRootIO)
0014
0015 set_target_properties(PodioExample PROPERTIES INSTALL_RPATH_USE_LINK_PATH TRUE)
0016
0017 install(TARGETS PodioExample DESTINATION bin)
0018
0019 add_test(NAME jana-example-podio-tests COMMAND PodioExample)
0020
0021 else()
0022 message(STATUS "Skipping examples/PodioExample because USE_PODIO=Off")
0023
0024 endif()
0025
0026
0027