You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
595 B
20 lines
595 B
# 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(RealsenseExamples-Depth)
|
|
|
|
# Save the command line compile commands in the build output
|
|
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
|
|
|
|
add_executable(rs-depth rs-depth.c ../example.h)
|
|
include_directories(../../C)
|
|
target_link_libraries(rs-depth ${DEPENDENCIES})
|
|
set_target_properties (rs-depth PROPERTIES
|
|
FOLDER "Examples/C"
|
|
)
|
|
|
|
install(TARGETS rs-depth RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
|
|