miniprojet/ROS/gesture_based_control/CMakeLists.txt

30 lines
621 B
CMake

cmake_minimum_required(VERSION 2.8.3)
project(gesture_based_control)
add_compile_options(-std=c++11)
find_package(catkin REQUIRED COMPONENTS
geometry_msgs
roscpp
std_msgs
cv_bridge
image_transport
dynamic_reconfigure
)
generate_dynamic_reconfigure_options(
cfg/Descriptor.cfg
)
catkin_package()
include_directories(
${catkin_INCLUDE_DIRS}
)
add_executable(controller src/controller.cpp)
target_link_libraries(controller ${catkin_LIBRARIES})
add_executable(descripteur src/descripteur.cpp)
target_link_libraries(descripteur ${catkin_LIBRARIES})
#add_dependencies(descripteur ${PROJECT_NAME}_gencfg)