-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
30 lines (18 loc) · 1.02 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
cmake_minimum_required(VERSION 3.12)
project(fddetdataformats VERSION 2.1.0)
find_package(daq-cmake REQUIRED)
daq_setup_environment()
find_package(detdataformats REQUIRED)
find_package(Boost COMPONENTS unit_test_framework REQUIRED)
##############################################################################
daq_add_library( LINK_LIBRARIES detdataformats::detdataformats)
##############################################################################
daq_add_python_bindings(*.cpp LINK_LIBRARIES ${PROJECT_NAME} )
##############################################################################
daq_add_unit_test(WIBEthFrame_test LINK_LIBRARIES fddetdataformats)
daq_add_unit_test(WIB2Frame_test LINK_LIBRARIES fddetdataformats)
daq_add_unit_test(WIBFrame_test LINK_LIBRARIES fddetdataformats)
daq_add_unit_test(TDE16Frame_test LINK_LIBRARIES fddetdataformats)
daq_add_unit_test(DAPHNEFrame_test LINK_LIBRARIES fddetdataformats)
##############################################################################
daq_install()