-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
executable file
·53 lines (43 loc) · 1009 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
45
46
47
48
49
50
51
52
53
cmake_minimum_required(VERSION 3.0.2)
project(se3_controller)
add_compile_options(-std=c++14)
set(CMAKE_BUILD_TYPE "Release")
set(CMAKE_EXPORT_COMPILE_COMMANDS "YES")
find_package(catkin REQUIRED COMPONENTS
geometry_msgs
mavros_msgs
nav_msgs
roscpp
rospy
std_msgs
tf
dynamic_reconfigure
# airsim_ros_pkgs
)
find_package(Eigen3 REQUIRED)
generate_dynamic_reconfigure_options(
cfg/tune.cfg
)
catkin_package(
INCLUDE_DIRS include
# LIBRARIES se3_controller
# CATKIN_DEPENDS geometry_msgs nav_msgs quadrotor_msgs roscpp rospy std_msgs tf airsim_ros_pkgs
# DEPENDS system_lib
)
include_directories(
include
${catkin_INCLUDE_DIRS}
${EIGEN3_INCLUDE_DIR}
)
# add_executable(${PROJECT_NAME}_example_airsim_node
# src/se3_example_airsim.cpp
# )
# target_link_libraries(${PROJECT_NAME}_example_airsim_node
# ${catkin_LIBRARIES}
# )
add_executable(${PROJECT_NAME}_example_node
src/se3_example.cpp
)
target_link_libraries(${PROJECT_NAME}_example_node
${catkin_LIBRARIES}
)