CMakeLists.txt 629 B

123456789101112131415161718192021222324252627
  1. cmake_minimum_required(VERSION 2.8.3)
  2. project(garmin)
  3. set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
  4. find_package(autoware_build_flags REQUIRED)
  5. find_package(catkin REQUIRED COMPONENTS
  6. nmea_msgs
  7. roscpp
  8. sensor_msgs
  9. )
  10. catkin_package()
  11. include_directories(
  12. ${catkin_INCLUDE_DIRS}
  13. )
  14. add_executable(garmin_gps_18x_lvc src/garmin_gps_18x_lvc.cc)
  15. target_link_libraries(garmin_gps_18x_lvc ${catkin_LIBRARIES})
  16. install(TARGETS garmin_gps_18x_lvc
  17. ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
  18. LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
  19. RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
  20. )