<div dir="ltr">Hi Austin,<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 18, 2013 at 4:25 AM, Austin Hendrix <span dir="ltr"><<a href="mailto:ahendrix@willowgarage.com" target="_blank">ahendrix@willowgarage.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I have a few packages containing realtime controllers that were<br>


previously built with:<br>
set(ROS_BUILD_TYPE Release), which among other things enabled<br>
optimizations as part of the build process.<br>
<br>
Since the catkin doesn't supply a replacement for ROS_BUILD_TYPE, I've<br>
omitted it when catkinizing packages, but I'm discovering now that<br>
packages compiled on the build farm are not sufficiently optimized for<br>
my use case.<br>
<br>
Is there a way to enable optimizations or the Release build type,<br>
either on the farm as a whole, in bloom, or in my packages?<br>
<br></blockquote><div><br></div><div>For plain cmake packages or catkin you can use the CMAKE_BUILD_TYPE variable which takes the exact same values as rosbuilds ROS_BUILD_TYPE variable:</div><div><br></div><div>set(CMAKE_BUILD_TYPE Release)<br>

</div><div><br></div><div>see <a href="http://www.cmake.org/Wiki/CMake_Useful_Variables#Compilers_and_Tools">http://www.cmake.org/Wiki/CMake_Useful_Variables#Compilers_and_Tools</a> for more info</div><div><br></div><div>

Ruben</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
-Austin<br>
_______________________________________________<br>
Ros-release mailing list<br>
<a href="mailto:Ros-release@code.ros.org">Ros-release@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-release" target="_blank">https://code.ros.org/mailman/listinfo/ros-release</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Ruben Smits, Phd<br>Chief Technology Officer<br>Intermodalics BVBA<br>+32479511786<br><a href="http://www.intermodalics.eu" target="_blank">www.intermodalics.eu</a>
</div></div>