-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
49 lines (43 loc) · 1.46 KB
/
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
45
46
47
48
49
cmake_minimum_required(VERSION 3.10)
project(object_detection)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -pthread")
find_package(OpenCV 4.2.0 REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
find_package(PCL 1.8 REQUIRED)
include_directories(${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
set(Inudev_Include /opt/Inuitive/InuDev/include/)
include_directories(
${Inudev_Include}
include
)
link_directories(${PROJECT_SOURCE_DIR})
add_executable(getCamera src/getCamera.cpp)
target_link_libraries(getCamera
${OpenCV_LIBS}
${PCL_LIBRARIES}
/opt/Inuitive/InuDev/lib/libCommonUtilities.so
/opt/Inuitive/InuDev/lib/libInuStreams.so
)
add_executable(objDetect src/objDetect.cpp)
target_link_libraries(objDetect
${OpenCV_LIBS}
${PCL_LIBRARIES}
/opt/Inuitive/InuDev/lib/libCommonUtilities.so
/opt/Inuitive/InuDev/lib/libInuStreams.so
)
add_executable(objDetectSplit src/objDetectSplit.cpp)
target_link_libraries(objDetectSplit
${OpenCV_LIBS}
${PCL_LIBRARIES}
/opt/Inuitive/InuDev/lib/libCommonUtilities.so
/opt/Inuitive/InuDev/lib/libInuStreams.so
)
add_executable(objDetectKalman src/objDetectKalman.cpp)
target_link_libraries(objDetectKalman
${OpenCV_LIBS}
${PCL_LIBRARIES}
/opt/Inuitive/InuDev/lib/libCommonUtilities.so
/opt/Inuitive/InuDev/lib/libInuStreams.so
)