Warning, /jana2/src/examples/JObjectDatamodel/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001
0002
0003 # This is a "header-only" CMake target. Use it to include any of the headers
0004 # via `target_link_libraries(SOMETHING PUBLIC JObjectDatamodel)`. It works both
0005 # in-tree and externally.
0006
0007 add_library(Examples::JObjectDatamodel INTERFACE)
0008
0009 target_include_directories(Examples::JObjectDatamodel INTERFACE
0010 $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
0011 $<INSTALL_INTERFACE:include/JANA/JObjectDatamodel
0012 )
0013
0014 file(GLOB JObjectDatamodel_HEADERS "*.h")
0015
0016 install(FILES ${JObjectDatamodel_HEADERS}
0017 DESTINATION include/JANA/JObjectDatamodel)
0018
0019 install(TARGETS Examples::JObjectDatamodel
0020 EXPORT jana2_targets)
0021