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.

62 lines
2.1 KiB

# License: Apache 2.0. See LICENSE file in root directory.
# Copyright(c) 2019 Intel Corporation. All Rights Reserved.
# ubuntu 16.04 LTS cmake version 3.5.1
cmake_minimum_required(VERSION 2.8.3...3.20.5)
project(RealsenseToolsRosbagInspector)
if(BUILD_GRAPHICAL_EXAMPLES)
set(RS_ROSBAG_INSPECTOR_CPP
rs-rosbag-inspector.cpp
files_container.h
print_helpers.h
rosbag_content.h
../../common/os.h
../../common/os.cpp
../../third-party/glad/glad.c
../../third-party/imgui/imgui.cpp
../../third-party/imgui/imgui_draw.cpp
../../third-party/imgui/imgui_impl_glfw.cpp
../../third-party/imgui/imgui-fonts-karla.hpp
../../third-party/imgui/imgui-fonts-fontawesome.hpp
../../third-party/tinyfiledialogs/tinyfiledialogs.c
../../third-party/tinyfiledialogs/tinyfiledialogs.h
)
if(WIN32)
add_executable(rs-rosbag-inspector WIN32 ${RS_ROSBAG_INSPECTOR_CPP})
include_directories(../../third-party/imgui ../../common ../../third-party/glad
../../third-party/tinyfiledialogs ../../third-party ${CMAKE_CURRENT_SOURCE_DIR}/res/)
else()
add_executable(rs-rosbag-inspector ${RS_ROSBAG_INSPECTOR_CPP})
include_directories(../../third-party/imgui ../../common ../../third-party/glad
../../third-party/tinyfiledialogs ../../third-party)
endif()
set_property(TARGET rs-rosbag-inspector PROPERTY CXX_STANDARD 11)
target_include_directories(rs-rosbag-inspector PRIVATE
${ROSBAG_HEADER_DIRS}
${BOOST_INCLUDE_PATH}
${LZ4_INCLUDE_PATH}
)
target_link_libraries(rs-rosbag-inspector realsense-file ${DEPENDENCIES})
set_target_properties (rs-rosbag-inspector PROPERTIES
FOLDER Tools
)
using_easyloggingpp( rs-rosbag-inspector SHARED )
install(
TARGETS
rs-rosbag-inspector
RUNTIME DESTINATION
${CMAKE_INSTALL_BINDIR}
)
endif()