-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
45 lines (34 loc) · 1.01 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
cmake_minimum_required(VERSION 2.8.3)
project(lookahead_control)
find_package(catkin REQUIRED COMPONENTS
roscpp
rospy
tf
std_msgs
nav_msgs
geometry_msgs
cmake_modules
)
find_package(Eigen3 REQUIRED)
catkin_package(
INCLUDE_DIRS include
CATKIN_DEPENDS roscpp nav_msgs geometry_msgs
DEPENDS EIGEN3
)
# include_directories(include ${catkin_INCLUDE_DIRS})
include_directories(include)
include_directories(${catkin_INCLUDE_DIRS})
include_directories(${EIGEN3_INCLUDE_DIRS})
add_executable(lookahead_control src/lookahead_control.cpp)
# add_library(lookahead_control include/lookahead_control.h)
target_link_libraries(lookahead_control ${catkin_LIBRARIES})
#############
## Testing ##
#############
## Add gtest based cpp test target and link libraries
# catkin_add_gtest(${PROJECT_NAME}-test test/test_lookahead_control.cpp)
# if(TARGET ${PROJECT_NAME}-test)
# target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME})
# endif()
## Add folders to be run by python nosetests
# catkin_add_nosetests(test)