This repository was archived by the owner on Mar 19, 2025. It is now read-only.
forked from plasorak/DAQDuneTriggers
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
32 lines (23 loc) · 1.56 KB
/
CMakeLists.txt
File metadata and controls
32 lines (23 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
cmake_minimum_required(VERSION 3.12)
project(triggermodules VERSION 2.2.0)
# JCF, Dec-15-2020
# At the command line you need to add the installation directory of the triggeralgs package before attempting to build, i.e.
#
# export CMAKE_PREFIX_PATH=/area/where/triggeralgs/is/installed:${CMAKE_PREFIX_PATH}
#
find_package(daq-cmake REQUIRED )
daq_setup_environment()
find_package(appfwk REQUIRED)
find_package(triggeralgs REQUIRED)
##############################################################################
daq_add_plugin(TriggerPrimitiveRadiological duneDAQModule LINK_LIBRARIES appfwk::appfwk SupernovaTrigger)
daq_add_plugin(TriggerPrimitiveSupernova duneDAQModule LINK_LIBRARIES appfwk::appfwk SupernovaTrigger)
daq_add_plugin(TriggerPrimitiveFromFile duneDAQModule SCHEMA LINK_LIBRARIES appfwk::appfwk SupernovaTrigger)
daq_add_plugin(TriggerPrimitiveTiming duneDAQModule LINK_LIBRARIES appfwk::appfwk SupernovaTrigger)
daq_add_plugin(DAQTriggerActivityMaker duneDAQModule SCHEMA LINK_LIBRARIES appfwk::appfwk SupernovaTrigger)
daq_add_plugin(DAQTriggerCandidateMaker duneDAQModule SCHEMA LINK_LIBRARIES appfwk::appfwk SupernovaTrigger)
daq_add_plugin(DAQTriggerTimingCandidateMaker duneDAQModule LINK_LIBRARIES appfwk::appfwk SupernovaTrigger)
daq_add_plugin(DAQTriggerDecisionMaker duneDAQModule SCHEMA LINK_LIBRARIES appfwk::appfwk SupernovaTrigger)
daq_add_plugin(FakeDFO duneDAQModule SCHEMA LINK_LIBRARIES appfwk::appfwk SupernovaTrigger)
##############################################################################
daq_install()