CMakeLists.txt 661 B

123456789101112131415161718192021222324252627282930
  1. cmake_minimum_required(VERSION 2.8.3)
  2. project(oculus_socket)
  3. find_package(catkin REQUIRED COMPONENTS
  4. pcl_conversions
  5. pcl_ros
  6. roscpp
  7. rospy
  8. std_msgs
  9. visualization_msgs
  10. )
  11. catkin_package()
  12. include_directories(
  13. ${catkin_INCLUDE_DIRS}
  14. )
  15. add_executable(oculus_sender nodes/oculus_sender/oculus_sender.cpp)
  16. target_link_libraries(oculus_sender ${catkin_LIBRARIES})
  17. install(TARGETS oculus_sender
  18. ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
  19. LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
  20. RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
  21. )
  22. install(DIRECTORY launch/
  23. DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch
  24. )