getting_started:ros
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
getting_started:ros [2019/06/11 11:51] – [Preparations and Building] graf | getting_started:ros [2021/03/26 14:27] – [Preparations and Building] ursgraf | ||
---|---|---|---|
Line 29: | Line 29: | ||
An example of a cmake call could look like this:\\ | An example of a cmake call could look like this:\\ | ||
'' | '' | ||
+ | Our build scripts already include this switch. | ||
Line 35: | Line 36: | ||
The CMAKE file for the EEROS application using ROS has to be expanded as follows: | The CMAKE file for the EEROS application using ROS has to be expanded as follows: | ||
< | < | ||
- | cmake_minimum_required(VERSION | + | cmake_minimum_required(VERSION |
project(testProject) | project(testProject) | ||
+ | set(CMAKE_CXX_STANDARD 14) | ||
+ | |||
## ROS | ## ROS | ||
message(STATUS " | message(STATUS " | ||
Line 58: | Line 61: | ||
include_directories(${EEROS_INCLUDE_DIR}; | include_directories(${EEROS_INCLUDE_DIR}; | ||
link_directories(${EEROS_LIB_DIR}; | link_directories(${EEROS_LIB_DIR}; | ||
- | |||
- | set(CMAKE_CXX_FLAGS " | ||
add_executable(testProject main.cpp) | add_executable(testProject main.cpp) |
getting_started/ros.txt · Last modified: 2023/02/09 12:04 by ursgraf