Files
whats-up-with-my-life/src/tutorial_pkg/CMakeLists.txt
2024-02-05 08:48:08 +01:00

39 lines
756 B
CMake

cmake_minimum_required(VERSION 2.8.3)
project(tutorial_pkg)
add_compile_options(-std=c++11)
find_package(catkin REQUIRED COMPONENTS
roscpp
sensor_msgs
std_msgs
std_srvs
)
catkin_package(
CATKIN_DEPENDS
)
find_package( OpenCV REQUIRED )
include_directories(
${catkin_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}
)
add_executable(my_first_node src/my_first_node.cpp)
target_link_libraries(my_first_node
${catkin_LIBRARIES})
add_executable(img_control_node src/img_control.cpp)
target_link_libraries(img_control_node
${catkin_LIBRARIES}
)
add_executable(follow_img_node src/follow_img.cpp)
target_link_libraries(follow_img_node
${catkin_LIBRARIES}
${OpenCV_LIBRARIES}
)