Warning, /jana2/src/plugins/janacontrol/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001
0002 if (${USE_ZEROMQ})
0003
0004 find_package(ZeroMQ REQUIRED)
0005 find_package(Threads REQUIRED)
0006
0007 set (janacontrol_PLUGIN_SOURCES
0008 janacontrol.cc
0009 JControlZMQ.cc
0010 JControlEventProcessor.cc)
0011
0012 set (janacontrol_PLUGIN_HEADERS
0013 JControlZMQ.h
0014 JControlEventProcessor.h)
0015
0016 set (janacontrol_PLUGIN_TESTS
0017 janacontrol_tests.cc
0018 )
0019
0020 add_jana_plugin(janacontrol
0021 SOURCES ${janacontrol_PLUGIN_SOURCES}
0022 PUBLIC_HEADER ${janacontrol_PLUGIN_HEADERS}
0023 TESTS ${janacontrol_PLUGIN_TESTS})
0024
0025 target_include_directories(janacontrol PUBLIC ${ZeroMQ_INCLUDE_DIRS})
0026 target_link_libraries(janacontrol PUBLIC ${ZeroMQ_LIBRARIES})
0027 target_include_directories(janacontrol_tests PUBLIC ${ZeroMQ_INCLUDE_DIRS})
0028 target_link_libraries(janacontrol_tests PUBLIC ${ZeroMQ_LIBRARIES})
0029
0030 else()
0031 message(STATUS "Skipping plugins/janacontrol because USE_ZEROMQ=Off")
0032
0033 endif()
0034
0035