-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
33 lines (24 loc) · 2.06 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
cmake_minimum_required(VERSION 3.12)
project(dal VERSION 1.0.0)
find_package(daq-cmake REQUIRED)
daq_setup_environment()
find_package(okssystem REQUIRED)
find_package(oksdalgen REQUIRED)
find_package(ers REQUIRED)
find_package(logging REQUIRED)
find_package(conffwk REQUIRED)
daq_oks_codegen(core.schema.xml)
daq_add_library(algorithms.cpp disabled-components.cpp test_circular_dependency.cpp LINK_LIBRARIES conffwk::conffwk okssystem::okssystem logging::logging)
daq_add_python_bindings(*.cpp LINK_LIBRARIES dal)
daq_add_application(dal_print_hosts dal_print_hosts.cxx LINK_LIBRARIES dal conffwk::conffwk Boost::program_options)
daq_add_application(dal_test_rw dal_test_rw.cxx LINK_LIBRARIES dal conffwk::conffwk Boost::program_options)
daq_add_application(dal_test_timeouts dal_test_timeouts.cxx LINK_LIBRARIES dal conffwk::conffwk Boost::program_options)
daq_add_application(dal_dump_apps dal_dump_apps.cxx LINK_LIBRARIES dal conffwk::conffwk Boost::program_options)
daq_add_application(dal_dump_apps_mt dal_dump_apps_mt.cxx LINK_LIBRARIES dal conffwk::conffwk Boost::program_options pthread)
daq_add_application(dal_dump_app_config dal_dump_app_config.cxx LINK_LIBRARIES dal conffwk::conffwk Boost::program_options)
daq_add_application(dal_dump_app_depends dal_dump_app_depends.cxx LINK_LIBRARIES dal conffwk::conffwk Boost::program_options)
daq_add_application(dal_print_segments dal_print_segments.cxx LINK_LIBRARIES dal conffwk::conffwk Boost::program_options)
daq_add_application(dal_get_app_env dal_get_app_env.cxx LINK_LIBRARIES dal conffwk::conffwk Boost::program_options)
daq_add_application(dal_test_disabled dal_test_disabled.cxx LINK_LIBRARIES dal conffwk::conffwk Boost::program_options)
daq_add_application(dal_test_get_config dal_test_get_config.cxx LINK_LIBRARIES dal conffwk::conffwk Boost::program_options)
daq_install()