Skip to content

Instantly share code, notes, and snippets.

@jbohren
Created December 16, 2014 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbohren/79c467e429704497c556 to your computer and use it in GitHub Desktop.
Save jbohren/79c467e429704497c556 to your computer and use it in GitHub Desktop.
simplest roscpp cmakelists for testing small snippets of roscpp code (no catkin required)
cmake_minimum_required(VERSION 2.8)
project(a_ros_experiment)
find_package(roscpp REQUIRED)
include_directories(${roscpp_INCLUDE_DIRS})
add_executable(main main.cpp)
target_link_libraries(main ${roscpp_LIBRARIES})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment