forked from IntelRealSense/librealsense
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
38 lines (33 loc) · 967 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
# 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(RealsenseToolsTerminal)
include_directories(
../../common
../../third-party
../../third-party/tclap/include
)
set(RS_TERMINAL_SOURCES
rs-terminal.cpp
auto-complete.cpp
auto-complete.h
../../common/parser.hpp
../../common/utilities/string/string-utilities.h
)
add_executable(rs-terminal ${RS_TERMINAL_SOURCES})
set_property(TARGET rs-terminal PROPERTY CXX_STANDARD 11)
if(WIN32 OR ANDROID)
target_link_libraries(rs-terminal ${DEPENDENCIES})
else()
target_link_libraries(rs-terminal -lpthread ${DEPENDENCIES})
endif()
set_target_properties (rs-terminal PROPERTIES
FOLDER Tools
)
install(
TARGETS
rs-terminal
RUNTIME DESTINATION
${CMAKE_INSTALL_BINDIR}
)