The default is the same as for CMake, which is `CMAKE_BUILD_TYPE=None`. Build type of None is neither release nor debug. It does not use the `-g` flag, but also does not define the `NDEBUG` definition and does not use any `-O` flags if I remember correctly. You need to explicitly set a build type if you want Release or Debug or RelWithDebInfo or something else. For example: `ament.py build --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo --`
---
[Visit Topic](
http://discourse.ros.org/t/ament-build-for-release/915/2) or reply to this email to respond.
If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>