-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
44 lines (26 loc) · 1.41 KB
/
CMakeLists.txt
File metadata and controls
44 lines (26 loc) · 1.41 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
33
34
35
36
37
38
39
40
41
42
43
cmake_minimum_required(VERSION 3.12)
project(confmodel VERSION 2.6.0)
find_package(daq-cmake REQUIRED)
daq_setup_environment()
find_package(oksdalgen REQUIRED)
find_package(ers REQUIRED)
find_package(logging REQUIRED)
find_package(conffwk REQUIRED)
find_package(nlohmann_json REQUIRED)
find_package(Boost COMPONENTS unit_test_framework REQUIRED)
##############################################################################
daq_add_dal_library(dunedaq.schema.xml dummy_resource.schema.xml
SOURCES dalMethods.cpp test_circular_dependency.cpp DisabledResources.cpp
LINK_LIBRARIES okssystem::okssystem logging::logging nlohmann_json::nlohmann_json)
daq_add_application(listApps list_apps.cxx
LINK_LIBRARIES confmodel_dal conffwk::conffwk)
daq_add_application(jsonable_test jsonable_test.cxx TEST
LINK_LIBRARIES confmodel_dal conffwk::conffwk logging::logging)
##############################################################################
# See https://dune-daq-sw.readthedocs.io/en/latest/packages/daq-cmake/#daq_add_python_bindings
daq_add_python_bindings(*.cpp DAL )
##############################################################################
# See https://dune-daq-sw.readthedocs.io/en/latest/packages/daq-cmake/#daq_add_unit_test
daq_add_unit_test(DisabledResource_test LINK_LIBRARIES confmodel_dal conffwk::conffwk)
##############################################################################
daq_install()