File tree Expand file tree Collapse file tree 28 files changed +38
-40
lines changed Expand file tree Collapse file tree 28 files changed +38
-40
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ endmacro()
89
89
macro (global_target_config)
90
90
target_link_libraries (${LRS_TARGET} PRIVATE realsense-file ${CMAKE_THREAD_LIBS_INIT} )
91
91
92
- include_directories (${LRS_TARGET} src)
92
+ include_directories (src)
93
93
94
94
set_target_properties (${LRS_TARGET} PROPERTIES FOLDER Library)
95
95
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ if(BUILD_GRAPHICAL_EXAMPLES)
9
9
add_executable (rs-align-advanced rs-align-advanced .cpp ../../third-party/imgui/imgui.cpp ../../third-party/imgui/imgui_draw.cpp ../../third-party/imgui/imgui_impl_glfw.cpp)
10
10
set_property (TARGET rs-align-advanced PROPERTY CXX_STANDARD 11)
11
11
target_link_libraries (rs-align-advanced ${DEPENDENCIES} )
12
- include_directories (rs-align- advanced ../../common ../../third-party/imgui)
12
+ include_directories (../../common ../../third-party/imgui)
13
13
set_target_properties (rs-align-advanced PROPERTIES FOLDER Examples)
14
14
install (TARGETS rs-align-advanced RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
15
15
endif ()
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ if(BUILD_GRAPHICAL_EXAMPLES)
9
9
add_executable (rs-align rs-align.cpp ../../third-party/imgui/imgui.cpp ../../third-party/imgui/imgui_draw.cpp ../../third-party/imgui/imgui_impl_glfw.cpp)
10
10
set_property (TARGET rs-align PROPERTY CXX_STANDARD 11)
11
11
target_link_libraries (rs-align ${DEPENDENCIES} )
12
- include_directories (rs-align ../../common ../../third-party/imgui)
12
+ include_directories (../../common ../../third-party/imgui)
13
13
set_target_properties (rs-align PROPERTIES FOLDER Examples)
14
14
install (TARGETS rs-align RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
15
15
endif ()
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ if(BUILD_GRAPHICAL_EXAMPLES)
9
9
add_executable (rs-capture rs-capture.cpp ../example.hpp)
10
10
set_property (TARGET rs-capture PROPERTY CXX_STANDARD 11)
11
11
target_link_libraries (rs-capture ${DEPENDENCIES} )
12
- include_directories (rs-capture ../ ../../third-party/tclap/include )
12
+ include_directories (../ ../../third-party/tclap/include )
13
13
set_target_properties (rs-capture PROPERTIES FOLDER "Examples" )
14
14
15
15
install (TARGETS rs-capture RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ if(BUILD_GRAPHICAL_EXAMPLES AND NOT APPLE)
21
21
#pointcloud
22
22
add_executable (rs-gl rs-gl.cpp ../example.hpp)
23
23
target_link_libraries (rs-gl ${DEPENDENCIES} realsense2-gl)
24
- include_directories (rs-gl ../)
24
+ include_directories (../)
25
25
set_target_properties (rs-gl PROPERTIES FOLDER Examples)
26
26
install (TARGETS rs-gl RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
27
27
endif ()
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ if(BUILD_GRAPHICAL_EXAMPLES)
9
9
add_executable (rs-hdr rs-hdr.cpp ../example.hpp)
10
10
set_property (TARGET rs-hdr PROPERTY CXX_STANDARD 11)
11
11
target_link_libraries (rs-hdr ${DEPENDENCIES} )
12
- include_directories (rs-hdr ../ ../../third-party/tclap/include )
12
+ include_directories (../ ../../third-party/tclap/include )
13
13
set_target_properties (rs-hdr PROPERTIES FOLDER "Examples" )
14
14
15
15
install (TARGETS rs-hdr RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ project(RealsenseExamplesHelloRealSense)
8
8
add_executable (rs-hello-realsense rs-hello-realsense.cpp)
9
9
set_property (TARGET rs-hello-realsense PROPERTY CXX_STANDARD 11)
10
10
target_link_libraries (rs-hello-realsense ${DEPENDENCIES} )
11
- include_directories (rs-hello-realsense)
12
11
set_target_properties (rs-hello-realsense PROPERTIES FOLDER "Examples" )
13
12
14
13
install (TARGETS rs-hello-realsense RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ if(BUILD_GRAPHICAL_EXAMPLES)
12
12
add_executable (rs-measure rs-measure.cpp ../example.hpp)
13
13
set_property (TARGET rs-measure PROPERTY CXX_STANDARD 11)
14
14
target_link_libraries (rs-measure ${DEPENDENCIES} Threads::Threads)
15
- include_directories (rs-measure ../)
15
+ include_directories (../)
16
16
set_target_properties (rs-measure PROPERTIES FOLDER "Examples" )
17
17
18
18
install (TARGETS rs-measure RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ project(RealsenseExamplesMulticam)
8
8
if (BUILD_GRAPHICAL_EXAMPLES)
9
9
add_executable (rs-multicam rs-multicam.cpp ../example.hpp)
10
10
set_property (TARGET rs-multicam PROPERTY CXX_STANDARD 11)
11
- include_directories (rs-multicam ../)
11
+ include_directories (../)
12
12
target_link_libraries (rs-multicam ${DEPENDENCIES} )
13
13
set_target_properties (rs-multicam PROPERTIES FOLDER Examples)
14
14
install (TARGETS rs-multicam RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ if(BUILD_GRAPHICAL_EXAMPLES)
9
9
add_executable (rs-pointcloud rs-pointcloud.cpp ../example.hpp)
10
10
set_property (TARGET rs-pointcloud PROPERTY CXX_STANDARD 11)
11
11
target_link_libraries (rs-pointcloud ${DEPENDENCIES} )
12
- include_directories (rs-pointcloud ../)
12
+ include_directories (../)
13
13
set_target_properties (rs-pointcloud PROPERTIES FOLDER Examples)
14
14
install (TARGETS rs-pointcloud RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
15
15
endif ()
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ if(BUILD_GRAPHICAL_EXAMPLES)
9
9
add_executable (rs-post-processing rs-post-processing.cpp ../example.hpp ../../third-party/imgui/imgui.cpp ../../third-party/imgui/imgui_draw.cpp ../../third-party/imgui/imgui_impl_glfw.cpp)
10
10
set_property (TARGET rs-post-processing PROPERTY CXX_STANDARD 11)
11
11
target_link_libraries (rs-post-processing ${DEPENDENCIES} )
12
- include_directories (rs-post-processing ../ ../../third-party/tclap/include ../../third-party/imgui)
12
+ include_directories (../ ../../third-party/tclap/include ../../third-party/imgui)
13
13
set_target_properties (rs-post-processing PROPERTIES FOLDER "Examples" )
14
14
install (TARGETS rs-post-processing RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
15
15
endif ()
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ if(BUILD_GRAPHICAL_EXAMPLES)
9
9
add_executable (rs-record-playback rs-record-playback.cpp ../example.hpp ../../third-party/imgui/imgui.cpp ../../third-party/imgui/imgui_draw.cpp ../../third-party/imgui/imgui_impl_glfw.cpp)
10
10
set_property (TARGET rs-record-playback PROPERTY CXX_STANDARD 11)
11
11
target_link_libraries (rs-record-playback ${DEPENDENCIES} )
12
- include_directories (rs-record-playback ../ ../../third-party/tclap/include ../../third-party/imgui)
12
+ include_directories (../ ../../third-party/tclap/include ../../third-party/imgui)
13
13
set_target_properties (rs-record-playback PROPERTIES FOLDER "Examples" )
14
14
install (TARGETS rs-record-playback RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
15
15
endif ()
Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ project(RealsenseExamplesSaveToDisk)
8
8
add_executable (rs-save-to-disk rs-save-to-disk.cpp)
9
9
set_property (TARGET rs-save-to-disk PROPERTY CXX_STANDARD 11)
10
10
target_link_libraries (rs-save-to-disk ${DEPENDENCIES} )
11
- include_directories (rs-save-to-disk ../../common ../../third-party ../../third-party/tclap/include )
11
+ include_directories (../../common ../../third-party ../../third-party/tclap/include )
12
12
set_target_properties (rs-save-to-disk PROPERTIES FOLDER "Examples" )
13
13
install (TARGETS rs-save-to-disk RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ if(BUILD_GRAPHICAL_EXAMPLES)
9
9
add_executable (rs-sensor-control api_how_to.h rs-sensor-control.cpp)
10
10
set_property (TARGET rs-sensor-control PROPERTY CXX_STANDARD 11)
11
11
target_link_libraries (rs-sensor-control ${DEPENDENCIES} )
12
- include_directories (rs-sensor-control)
13
12
set_target_properties (rs-sensor-control PROPERTIES FOLDER Examples)
14
13
install (TARGETS rs-sensor-control RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
15
14
endif ()
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ if(BUILD_GRAPHICAL_EXAMPLES)
12
12
add_executable (rs-software-device rs-software-device.cpp)
13
13
set_property (TARGET rs-software-device PROPERTY CXX_STANDARD 11)
14
14
target_link_libraries (rs-software-device ${DEPENDENCIES} )
15
- include_directories (rs-software-device ../ ../../third-party/tclap/include ../../third-party/ ../../common/res)
15
+ include_directories (../ ../../third-party/tclap/include ../../third-party/ ../../common/res)
16
16
set_target_properties (rs-software-device PROPERTIES FOLDER "Examples" )
17
17
install (TARGETS rs-software-device RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
18
18
endif ()
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ if(BUILD_GRAPHICAL_EXAMPLES)
9
9
add_executable (rs-tracking-and -depth rs-tracking-and -depth.cpp ../example.hpp)
10
10
set_property (TARGET rs-tracking-and -depth PROPERTY CXX_STANDARD 11)
11
11
target_link_libraries (rs-tracking-and -depth ${DEPENDENCIES} )
12
- include_directories (rs-tracking- and -depth ../)
12
+ include_directories (../)
13
13
set_target_properties (rs-tracking-and -depth PROPERTIES FOLDER Examples)
14
14
install (TARGETS rs-tracking-and -depth RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
15
15
add_custom_command (
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ set(COMPRESSION_SOURCES ${COMPRESSION_SOURCES} ${LZ4_DIR}/lz4.h ${LZ4_DIR}/lz4.c
19
19
20
20
add_library (${PROJECT_NAME} STATIC ${COMPRESSION_SOURCES} )
21
21
22
- include_directories (${PROJECT_NAME}
22
+ include_directories (
23
23
../../common
24
24
../ipDeviceCommon
25
25
../../third-party/easyloggingpp/src
@@ -33,7 +33,7 @@ add_dependencies(${PROJECT_NAME}
33
33
libjpeg-turbo
34
34
)
35
35
36
- include_directories (${PROJECT_NAME}
36
+ include_directories (
37
37
${CMAKE_BINARY_DIR} /libjpeg-turbo/include
38
38
${LZ4_DIR}
39
39
)
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ endif()
21
21
if (BUILD_GRAPHICAL_EXAMPLES)
22
22
add_executable (rs-benchmark rs-benchmark.cpp ../../third-party/glad/glad.c)
23
23
target_link_libraries (rs-benchmark ${DEPENDENCIES} realsense2-gl)
24
- include_directories (rs-benchmark ../../third-party/tclap/include ../../third-party/glad)
24
+ include_directories (../../third-party/tclap/include ../../third-party/glad)
25
25
set_target_properties (rs-benchmark PROPERTIES
26
26
FOLDER Tools
27
27
)
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ add_executable(${RS_TARGET} rs-convert.cpp
19
19
)
20
20
set_property (TARGET ${RS_TARGET} PROPERTY CXX_STANDARD 11)
21
21
target_link_libraries (${RS_TARGET} ${DEPENDENCIES} Threads::Threads)
22
- include_directories (${RS_TARGET} ../../common ../../third-party ../../third-party/tclap/include )
22
+ include_directories (../../common ../../third-party ../../third-party/tclap/include )
23
23
24
24
set_target_properties (${RS_TARGET} PROPERTIES
25
25
FOLDER "Tools"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ project(RealsenseToolsDataCollect)
8
8
add_executable (rs-data-collect rs-data-collect.h rs-data-collect.cpp)
9
9
set_property (TARGET rs-data-collect PROPERTY CXX_STANDARD 11)
10
10
target_link_libraries (rs-data-collect ${DEPENDENCIES} )
11
- include_directories (rs-data-collect ../../common ../../third-party/tclap/include )
11
+ include_directories (../../common ../../third-party/tclap/include )
12
12
set_target_properties (rs-data-collect PROPERTIES
13
13
FOLDER "Tools"
14
14
)
Original file line number Diff line number Diff line change @@ -73,12 +73,12 @@ if(BUILD_GRAPHICAL_EXAMPLES)
73
73
depth-metrics.h
74
74
${COMMON_SRC} )
75
75
76
- include_directories (rs-depth-quality ../../common ../../third-party
77
- ../../third-party/imgui
78
- ../../third-party/glad
79
- ../../third-party/tclap/include
80
- ../../third-party/tinyfiledialogs
81
- ${CMAKE_CURRENT_SOURCE_DIR} /res/)
76
+ include_directories (../../common ../../third-party
77
+ ../../third-party/imgui
78
+ ../../third-party/glad
79
+ ../../third-party/tclap/include
80
+ ../../third-party/tinyfiledialogs
81
+ ${CMAKE_CURRENT_SOURCE_DIR} /res/)
82
82
83
83
#list(TRANSFORM DELAYED PREPEND " /DELAYLOAD:")
84
84
PREPEND(DELAYED " /DELAYLOAD:" ${DELAYED} )
@@ -92,11 +92,11 @@ if(BUILD_GRAPHICAL_EXAMPLES)
92
92
${ELPP_FILES}
93
93
)
94
94
95
- include_directories (rs-depth-quality ../../common ../../third-party
96
- ../../third-party/imgui
97
- ../../third-party/glad
98
- ../../third-party/tinyfiledialogs
99
- ../../third-party/tclap/include )
95
+ include_directories (../../common ../../third-party
96
+ ../../third-party/imgui
97
+ ../../third-party/glad
98
+ ../../third-party/tinyfiledialogs
99
+ ../../third-party/tclap/include )
100
100
endif ()
101
101
102
102
source_group ("EasyLogging++" FILES ${ELPP_FILES} )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ project(RealsenseExamplesEnumerateDevices)
8
8
add_executable (rs-enumerate-devices rs-enumerate-devices.cpp)
9
9
set_property (TARGET rs-enumerate-devices PROPERTY CXX_STANDARD 11)
10
10
target_link_libraries (rs-enumerate-devices ${DEPENDENCIES} )
11
- include_directories (rs-enumerate-devices ../../third-party/tclap/include )
11
+ include_directories (../../third-party/tclap/include )
12
12
set_target_properties (rs-enumerate-devices PROPERTIES
13
13
FOLDER Tools
14
14
)
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ if(WIN32 OR ANDROID)
12
12
else ()
13
13
target_link_libraries (rs-fw-logger -lpthread ${DEPENDENCIES} )
14
14
endif ()
15
- include_directories (rs-fw-logger ../../third-party/tclap/include cpp-fw-logger-helpers)
15
+ include_directories (../../third-party/tclap/include cpp-fw-logger-helpers)
16
16
set_target_properties (rs-fw-logger PROPERTIES
17
17
FOLDER Tools
18
18
)
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ project(RealsenseToolsRecorder)
8
8
add_executable (rs-record rs-record.cpp)
9
9
set_property (TARGET rs-record PROPERTY CXX_STANDARD 11)
10
10
target_link_libraries (rs-record ${DEPENDENCIES} )
11
- include_directories (rs-record ../../common ../../third-party/tclap/include )
11
+ include_directories (../../common ../../third-party/tclap/include )
12
12
set_target_properties (rs-record PROPERTIES
13
13
FOLDER "Tools"
14
14
)
Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ if(BUILD_GRAPHICAL_EXAMPLES)
26
26
if (WIN32 )
27
27
add_executable (rs-rosbag-inspector WIN32 ${RS_ROSBAG_INSPECTOR_CPP} )
28
28
29
- include_directories (rs-rosbag-inspector ../../third-party/imgui ../../common ../../third-party/glad
29
+ include_directories (../../third-party/imgui ../../common ../../third-party/glad
30
30
../../third-party/tinyfiledialogs ../../third-party ${CMAKE_CURRENT_SOURCE_DIR} /res/)
31
31
else ()
32
32
add_executable (rs-rosbag-inspector ${RS_ROSBAG_INSPECTOR_CPP} )
33
- include_directories (rs-rosbag-inspector ../../third-party/imgui ../../common ../../third-party/glad
33
+ include_directories (../../third-party/imgui ../../common ../../third-party/glad
34
34
../../third-party/tinyfiledialogs ../../third-party)
35
35
endif ()
36
36
set_property (TARGET rs-rosbag-inspector PROPERTY CXX_STANDARD 11)
Original file line number Diff line number Diff line change 36
36
add_executable (${PROJECT_NAME} ${RS_SERVER_SOURCES} )
37
37
add_definitions (-DELPP_NO_DEFAULT_LOG_FILE)
38
38
39
- include_directories (${PROJECT_NAME}
39
+ include_directories (
40
40
../../common
41
41
../../src/ipDeviceCommon
42
42
../../include /librealsense2
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ if(WIN32 OR ANDROID)
12
12
else ()
13
13
target_link_libraries (rs-terminal -lpthread ${DEPENDENCIES} )
14
14
endif ()
15
- include_directories (rs-terminal ../../common ../../third-party ../../third-party/tclap/include )
15
+ include_directories (../../common ../../third-party ../../third-party/tclap/include )
16
16
set_target_properties (rs-terminal PROPERTIES
17
17
FOLDER Tools
18
18
)
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ set (INTERNAL_TESTS_SOURCES
20
20
add_executable (${PROJECT_NAME} ${INTERNAL_TESTS_SOURCES} )
21
21
set_property (TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 11)
22
22
target_link_libraries (${PROJECT_NAME} ${DEPENDENCIES} )
23
- include_directories (${PROJECT_NAME} ../ ../../src/)
23
+ include_directories (../ ../../src/)
24
24
set_target_properties (${PROJECT_NAME} PROPERTIES FOLDER "Unit-Tests" )
25
25
26
26
if (UNIX )
You can’t perform that action at this time.
0 commit comments