]> defiant.homedns.org Git - ros_wild_thumper.git/blobdiff - CMakeLists.txt
convert base node to c++
[ros_wild_thumper.git] / CMakeLists.txt
index be7eeab0689a717392fe886a6360e39f8d736078..965b4ee9628ffed1cccf6ab0f2d5c66364067a35 100644 (file)
@@ -4,7 +4,7 @@ project(wild_thumper)
 ## Find catkin macros and libraries
 ## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
 ## is used, also find other catkin packages
-find_package(catkin REQUIRED sensor_msgs cv_bridge roscpp rospy std_msgs image_transport dynamic_reconfigure message_generation rosruby)
+find_package(catkin REQUIRED sensor_msgs cv_bridge roscpp rospy std_msgs image_transport dynamic_reconfigure message_generation rosruby tf)
 find_package(OpenCV)
 
 ## System dependencies are found with CMake's conventions
@@ -100,7 +100,6 @@ catkin_package(
 ## Your package locations should be listed before other locations
 include_directories(
     ${catkin_INCLUDE_DIRS}
-    /opt/ros/tinkerforge/c_bindings/source
 )
 
 ## Declare a cpp library
@@ -110,6 +109,7 @@ include_directories(
 
 ## Declare a cpp executable
 add_executable(path_following src/path_following.cpp)
+add_executable(wt_node src/wt_node.cpp)
 
 ## Add cmake target dependencies of the executable/library
 ## as an example, message headers may need to be generated before nodes
@@ -120,6 +120,10 @@ target_link_libraries(path_following
    ${catkin_LIBRARIES}
    ${OpenCV_LIBS}
 )
+target_link_libraries(wt_node
+   ${catkin_LIBRARIES}
+   i2c
+)
 
 #############
 ## Install ##