Warning, /jana2/src/plugins/janaview/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001
0002
0003 if(USE_ROOT)
0004
0005 find_package(ROOT REQUIRED COMPONENTS Gui Core RIO Net Hist Graf Graf3d Gpad Tree Rint Postscript Matrix Physics MathCore Thread MultiProc)
0006 ROOT_GENERATE_DICTIONARY(G__jv_mainframe jv_mainframe.h)
0007
0008 file(GLOB JANAVIEW_HEADERS "*.h*")
0009
0010 add_jana_plugin(janaview
0011 SOURCES JEventProcessor_janaview.cc jv_mainframe.cc G__jv_mainframe.cxx
0012 PUBLIC_HEADER ${JANAVIEW_HEADERS}
0013 )
0014
0015 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libjv_mainframe_rdict.pcm DESTINATION lib/JANA/plugins)
0016 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libjv_mainframe.rootmap DESTINATION lib/JANA/plugins)
0017
0018 else()
0019
0020 message(STATUS "Skipping plugins/janaview because USE_ROOT=Off")
0021
0022 endif() # ROOT_FOUND