-
Notifications
You must be signed in to change notification settings - Fork 25
/
CMakeLists.txt
45 lines (36 loc) · 880 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
38
39
40
41
42
43
44
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
project(rs)
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/Modules/" ${CMAKE_MODULE_PATH})
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
find_package(PCL 1.7.2 REQUIRED)
find_package(RSSDK REQUIRED)
include_directories(
include
${PCL_INCLUDE_DIRS}
${RSSDK_INCLUDE_DIRS}
)
link_directories(
${PCL_LIBRARY_DIRS}
)
add_definitions(
${PCL_DEFINITIONS}
)
add_library(real_sense
src/real_sense/real_sense_device_manager.cpp
src/real_sense_grabber.cpp
src/io_exception.cpp
include/io_exception.h
include/real_sense_grabber.h
include/buffers.h
include/impl/buffers.hpp
include/real_sense/real_sense_device_manager.h
include/real_sense/time.h
)
add_executable(real_sense_viewer
src/real_sense_viewer.cpp
)
target_link_libraries(real_sense_viewer
real_sense
${PCL_LIBRARIES}
${RSSDK_LIBRARIES}
)