[ros-users] [Discourse.ros.org] [Next Generation ROS] Ament build for Release

William Woodall ros.discourse at gmail.com
Thu Dec 8 22:40:11 UTC 2016




Personally, I always use `RelWithDebInfo`, but I do so with an alias, something like:

```
% alias ab
ab='src/ament/ament_tools/scripts/ament.py build \
  --build-tests \
  --symlink-install \
  --isolated \
  --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo --'
```

As for changing the default, I suppose we could change it in the tool, but I'm hesitant to do so because it only makes sense for CMake building C/C++ code (whereas the tool also builds other things like Python packages, i.e. the cmake build type cannot be generalized to all build system types), and it is a departure from typical CMake development (where the default is None) and catkin development (also where the default is None).






---
[Visit Topic](https://discourse.ros.org/t/ament-build-for-release/915/5) or reply to this email to respond.




More information about the ros-users mailing list