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.

30 lines
685 B

# License: Apache 2.0. See LICENSE file in root directory.
# Copyright(c) 2021 Intel Corporation. All Rights Reserved.
cmake_minimum_required(VERSION 3.1.0)
project(RealsenseToolsEmbed)
# Save the command line compile commands in the build output
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
add_executable(rs-embed
rs-embed.cpp
${LZ4_DIR}/lz4.h
${LZ4_DIR}/lz4.c
)
set_property(TARGET rs-embed PROPERTY CXX_STANDARD 11)
include_directories(rs-embed ${LZ4_DIR} ../../third-party)
target_link_libraries( rs-embed PRIVATE tclap )
set_target_properties (rs-embed PROPERTIES FOLDER Tools)
install(
TARGETS
rs-embed
RUNTIME DESTINATION
${CMAKE_INSTALL_PREFIX}/bin
)