forked from IntelRealSense/librealsense
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
37 lines (31 loc) · 995 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
# License: Apache 2.0. See LICENSE file in root directory.
# Copyright(c) 2019 Intel Corporation. All Rights Reserved.
# minimum required cmake version: 3.1.0
cmake_minimum_required(VERSION 3.1.0)
project(RealsenseToolsFirmwareLogger)
add_executable(rs-fw-logger rs-fw-logger.cpp fw-log-data.cpp
fw-log-data.h
fw-logs-formating-options.cpp
fw-logs-formating-options.h
fw-logs-parser.cpp
fw-logs-parser.h
fw-logs-xml-helper.cpp
fw-logs-xml-helper.h
string-formatter.cpp
string-formatter.h)
set_property(TARGET rs-fw-logger PROPERTY CXX_STANDARD 11)
if(WIN32 OR ANDROID)
target_link_libraries(rs-fw-logger ${DEPENDENCIES})
else()
target_link_libraries(rs-fw-logger -lpthread ${DEPENDENCIES})
endif()
include_directories(rs-fw-logger ../../third-party/tclap/include cpp-fw-logger-helpers)
set_target_properties (rs-fw-logger PROPERTIES
FOLDER Tools
)
install(
TARGETS
rs-fw-logger
RUNTIME DESTINATION
${CMAKE_INSTALL_BINDIR}
)