forked from FairRootGroup/DDS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
46 lines (38 loc) · 839 Bytes
/
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
# Copyright 2014 GSI, Inc. All rights reserved.
#
#
project(dds-agent-cmd)
configure_file(src/version.h.in ${PROJECT_BINARY_DIR}/version.h @ONLY)
set(SOURCE_FILES
src/main.cpp
)
set(HEADER_FILES
src/Options.h
)
add_executable(${PROJECT_NAME} ${SOURCE_FILES} ${HEADER_FILES})
target_link_libraries(${PROJECT_NAME}
PUBLIC
MiscCommon
dds_user_defaults_lib
dds_protocol_lib
dds_tools_lib
Boost::boost
Boost::program_options
Boost::system
Boost::log
Boost::log_setup
Boost::thread
)
target_include_directories(${PROJECT_NAME}
PUBLIC
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}>
)
install(TARGETS ${PROJECT_NAME}
RUNTIME DESTINATION bin
)
#if(BUILD_TESTS)
# message(STATUS "Build ${PROJECT_NAME} unit tests - YES")
# add_subdirectory(tests)
#else()
# message(STATUS "Build ${PROJECT_NAME} unit tests - NO")
#endif()