# # The find_package macro for Orocos-RTT works best with # cmake >= 2.8.3 # cmake_minimum_required(VERSION 2.8.3) # # This creates a standard cmake project. You may extend this file with # any cmake macro you see fit. # # The CMake 'target' names are identical to the first argument of the # macro, except for orocos_typekit, where the target is fully # controlled by generated code of 'typegen'. # project(stdint) ### ROS Dependencies ### # Find the RTT-ROS package (this transitively includes the Orocos CMake macros) find_package(catkin REQUIRED COMPONENTS rtt_ros # ADDITIONAL ROS PACKAGES ) add_definitions(-DADD_INT8_TYPE) # Set the CMAKE_PREFIX_PATH in case you're not using Orocos through ROS # for helping these find commands find RTT. #find_package(OROCOS-RTT REQUIRED ${RTT_HINTS}) # Defines the orocos_* cmake macros. See that file for additional # documentation. #include(${OROCOS-RTT_USE_FILE_PATH}/UseOROCOS-RTT.cmake) include_directories(${USE_OROCOS_INCLUDE_DIRS}) # # Building a Plugin or Service (optional): # #orocos_plugin(stdint-typekit StdintTypekit.cpp Types.hpp) orocos_typekit(stdint_typekit StdintTypekit.cpp) target_link_libraries(stdint_typekit ${catkin_LIBRARIES} ${USE_OROCOS_LIBRARIES}) # # Additional headers (not in typekit): # # Installs in the include/orocos/transports/ directory # orocos_install_headers( Types.hpp ) # ...you may add multiple header files #orocos_install_headers(DIRECTORY include/${PROJECT_NAME}) # # Generates and installs our package. Must be the last statement such # that it can pick up all above settings. # #orocos_generate_package() orocos_generate_package( INCLUDE_DIRS src DEPENDS rtt_ros )