-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCMakeLists.txt
executable file
·84 lines (68 loc) · 1.85 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
cmake_minimum_required(VERSION 3.1)
project(lane_detector)
set (CMAKE_CXX_STANDARD 11)
find_package(catkin REQUIRED COMPONENTS
cv_bridge
image_transport
roscpp
std_msgs
rospy
tf
message_filters
)
find_package(OpenCV REQUIRED)
find_package(CUDA REQUIRED)
# catkin_python_setup()
catkin_package()
include_directories(
include
${catkin_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}
include/lane_detector/
${CUDA_INCLUDE_DIRS}
"src/library/"
)
# add_subdirectory(src/ORUtils)
set(GSLICR_LIB
src/gSLICr_Lib/engines/gSLICr_core_engine.h
src/gSLICr_Lib/engines/gSLICr_seg_engine.h
src/gSLICr_Lib/engines/gSLICr_seg_engine_GPU.h
src/gSLICr_Lib/engines/gSLICr_seg_engine_shared.h
src/gSLICr_Lib/engines/gSLICr_core_engine.cpp
src/gSLICr_Lib/engines/gSLICr_seg_engine.cpp
src/gSLICr_Lib/engines/gSLICr_seg_engine_GPU.cu
src/gSLICr_Lib/objects/gSLICr_settings.h
src/gSLICr_Lib/objects/gSLICr_spixel_info.h
src/gSLICr_Lib/gSLICr_defines.h
src/gSLICr_Lib/gSLICr.h
src/library/gSLIC/FastImgSeg.h
src/library/gSLIC/FastImgSeg.cpp
src/library/gSLIC/cudaDefines.h
src/library/gSLIC/cudaImgTrans.cu
src/library/gSLIC/cudaImgTrans.h
src/library/gSLIC/cudaSegEngine.cu
src/library/gSLIC/cudaSegEngine.h
src/library/gSLIC/cudaSegSLIC.cu
src/library/gSLIC/cudaSegSLIC.h
src/library/gSLIC/cudaUtil.cu
src/library/gSLIC/cudaUtil.h
)
list(APPEND "-std=c++11 -ftree-vectorize")
SOURCE_GROUP(engines FILES ${GSLICR_LIB})
cuda_add_library(gSLICr_lib
${GSLICR_LIB}
src/NVTimer.h
OPTIONS -gencode arch=compute_30,code=compute_30)
target_link_libraries(gSLICr_lib ${CUDA_LIBRARY})
add_executable(lanes src/lanes_way.cpp)
<<<<<<< f5cb4bf155597ceab254227a1ef8c474b31c7587
=======
>>>>>>> Final Worked code
target_link_libraries(lanes
${catkin_LIBRARIES}
${OpenCV_LIBRARIES}
gSLICr_lib
)
<<<<<<< f5cb4bf155597ceab254227a1ef8c474b31c7587
=======
>>>>>>> Final Worked code