From df1b360775244bd21104f5043a7de1a83d8129f4 Mon Sep 17 00:00:00 2001 From: Peter Soetens Date: Thu, 27 Jan 2011 10:07:28 +0100 Subject: [PATCH 3/3] cmake: compile all typekits with MinSizeRel * speeds up compile time and reduces code size (gcc) Signed-off-by: Peter Soetens --- rtt_ros_integration/CMakeLists.txt | 2 +- rtt_ros_integration_geometry_msgs/CMakeLists.txt | 2 +- rtt_ros_integration_nav_msgs/CMakeLists.txt | 2 +- rtt_ros_integration_roslib_msgs/CMakeLists.txt | 2 +- rtt_ros_integration_std_msgs/CMakeLists.txt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rtt_ros_integration/CMakeLists.txt b/rtt_ros_integration/CMakeLists.txt index c2bd5ea..e92cf21 100644 --- a/rtt_ros_integration/CMakeLists.txt +++ b/rtt_ros_integration/CMakeLists.txt @@ -7,7 +7,7 @@ include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake) # Release : w/o debug symbols, w/ optimization # RelWithDebInfo : w/ debug symbols, w/ optimization # MinSizeRel : w/o debug symbols, w/ optimization, stripped binaries -set(ROS_BUILD_TYPE RelWithDebInfo) +set(ROS_BUILD_TYPE MinSizeRel) rosbuild_init() rosbuild_find_ros_package(rtt ) diff --git a/rtt_ros_integration_geometry_msgs/CMakeLists.txt b/rtt_ros_integration_geometry_msgs/CMakeLists.txt index 37c3d74..9f3395d 100644 --- a/rtt_ros_integration_geometry_msgs/CMakeLists.txt +++ b/rtt_ros_integration_geometry_msgs/CMakeLists.txt @@ -7,7 +7,7 @@ include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake) # Release : w/o debug symbols, w/ optimization # RelWithDebInfo : w/ debug symbols, w/ optimization # MinSizeRel : w/o debug symbols, w/ optimization, stripped binaries -set(ROS_BUILD_TYPE RelWithDebInfo) +set(ROS_BUILD_TYPE MinSizeRel) rosbuild_init() diff --git a/rtt_ros_integration_nav_msgs/CMakeLists.txt b/rtt_ros_integration_nav_msgs/CMakeLists.txt index d166b5e..184720d 100644 --- a/rtt_ros_integration_nav_msgs/CMakeLists.txt +++ b/rtt_ros_integration_nav_msgs/CMakeLists.txt @@ -7,7 +7,7 @@ include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake) # Release : w/o debug symbols, w/ optimization # RelWithDebInfo : w/ debug symbols, w/ optimization # MinSizeRel : w/o debug symbols, w/ optimization, stripped binaries -set(ROS_BUILD_TYPE RelWithDebInfo) +set(ROS_BUILD_TYPE MinSizeRel) rosbuild_init() diff --git a/rtt_ros_integration_roslib_msgs/CMakeLists.txt b/rtt_ros_integration_roslib_msgs/CMakeLists.txt index d125e48..6267c2e 100644 --- a/rtt_ros_integration_roslib_msgs/CMakeLists.txt +++ b/rtt_ros_integration_roslib_msgs/CMakeLists.txt @@ -7,7 +7,7 @@ include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake) # Release : w/o debug symbols, w/ optimization # RelWithDebInfo : w/ debug symbols, w/ optimization # MinSizeRel : w/o debug symbols, w/ optimization, stripped binaries -set(ROS_BUILD_TYPE RelWithDebInfo) +set(ROS_BUILD_TYPE MinSizeRel) rosbuild_init() diff --git a/rtt_ros_integration_std_msgs/CMakeLists.txt b/rtt_ros_integration_std_msgs/CMakeLists.txt index 64787b6..2f0c39e 100644 --- a/rtt_ros_integration_std_msgs/CMakeLists.txt +++ b/rtt_ros_integration_std_msgs/CMakeLists.txt @@ -7,7 +7,7 @@ include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake) # Release : w/o debug symbols, w/ optimization # RelWithDebInfo : w/ debug symbols, w/ optimization # MinSizeRel : w/o debug symbols, w/ optimization, stripped binaries -set(ROS_BUILD_TYPE RelWithDebInfo) +set(ROS_BUILD_TYPE MinSizeRel) rosbuild_init() -- 1.7.0.4