add and use PX4_ROS preprocessor define

This commit is contained in:
Thomas Gubler
2015-01-06 19:45:57 +01:00
parent ee561947e9
commit f37fdd95af
11 changed files with 18 additions and 15 deletions

View File

@@ -1,6 +1,7 @@
cmake_minimum_required(VERSION 2.8.3)
project(px4)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
add_definitions(-D__PX4_ROS)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)