-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
50 lines (32 loc) · 1.72 KB
/
CMakeLists.txt
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
cmake_minimum_required(VERSION 3.12)
project(appdal VERSION 1.1.1)
find_package(daq-cmake REQUIRED)
daq_setup_environment()
find_package(okssystem REQUIRED)
find_package(oks REQUIRED)
find_package(oksdalgen REQUIRED)
find_package(ers REQUIRED)
find_package(logging REQUIRED)
find_package(conffwk REQUIRED)
find_package(coredal REQUIRED)
#find_package(Boost COMPONENTS unit_test_framework REQUIRED)
daq_oks_codegen(application.schema.xml fdmodules.schema.xml trigger.schema.xml
NAMESPACE dunedaq::appdal DEP_PKGS coredal)
daq_add_library(ReadoutApplication.cpp SmartDaqApplication.cpp
DFApplication.cpp DFOApplication.cpp TPWriterApplication.cpp FakeDataApplication.cpp FakeHSIApplication.cpp TriggerApplication.cpp MLTApplication.cpp HSIEventToTCApplication.cpp
LINK_LIBRARIES conffwk::conffwk okssystem::okssystem
logging::logging coredal::coredal oks::oks ers::ers)
daq_add_application(getAppsArguments get_apps_arguments.cxx
LINK_LIBRARIES coredal::coredal appdal conffwk::conffwk)
daq_add_python_bindings(*.cpp LINK_LIBRARIES appdal coredal::coredal)
daq_add_application(generate_modules_test generate_modules_test.cxx
TEST LINK_LIBRARIES appdal coredal::coredal conffwk::conffwk
logging::logging)
daq_add_application(print_detailed_config_info print_detailed_config_info.cxx
TEST LINK_LIBRARIES appdal coredal::coredal conffwk::conffwk
logging::logging)
##############################################################################
# See https://dune-daq-sw.readthedocs.io/en/latest/packages/daq-cmake/#daq_add_unit_test
#daq_add_unit_test(Placeholder_test LINK_LIBRARIES) # Placeholder_test should be replaced with real unit tests
##############################################################################
daq_install()