Advertisement
Briansmith61

CMakeList.txt

Apr 27th, 2014
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. cmake_minimum_required(VERSION 2.4.6)
  2. include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
  3.  
  4. # Set the build type. Options are:
  5. # Coverage : w/ debug symbols, w/o optimization, w/ code-coverage
  6. # Debug : w/ debug symbols, w/o optimization
  7. # Release : w/o debug symbols, w/ optimization
  8. # RelWithDebInfo : w/ debug symbols, w/ optimization
  9. # MinSizeRel : w/o debug symbols, w/ optimization, stripped binaries
  10. #set(ROS_BUILD_TYPE RelWithDebInfo)
  11.  
  12. rosbuild_init()
  13.  
  14. #set the default path for built libraries to the "lib" directory
  15. set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
  16.  
  17. ##############################################################################
  18. # NODELET
  19. ##############################################################################
  20.  
  21. rosbuild_add_library(cmd_vel_mux_nodelet src/cmd_vel_mux_nodelet.cpp src/cmd_vel_subscribers.cpp)
  22. target_link_libraries(cmd_vel_mux_nodelet yaml-cpp)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement