CMakeLists.txt 615 B

1234567891011121314151617181920212223242526272829
  1. cmake_minimum_required(VERSION 2.8.3)
  2. project(memsic_imu)
  3. find_package(catkin REQUIRED COMPONENTS
  4. roscpp
  5. sensor_msgs
  6. tf
  7. )
  8. catkin_package()
  9. include_directories(
  10. ${catkin_INCLUDE_DIRS}
  11. )
  12. add_executable(vg440_node nodes/vg440/vg440_node.cpp)
  13. target_link_libraries(vg440_node ${catkin_LIBRARIES})
  14. install(TARGETS vg440_node
  15. ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
  16. LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
  17. RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
  18. )
  19. install(DIRECTORY launch/
  20. DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch
  21. PATTERN ".svn" EXCLUDE
  22. )