-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert to Ament Build System #22
Comments
We can take care of this ticket, at least to some extend. Work in progress at https://github.com/AcutronicRobotics/moveit2#milestones |
It still seems to be an open issue on how to add multiple dependencies, libraries or other package based properties without adding too much redundant code inside CMakeLists.txt files.
|
Those could be used to either automate the |
The downside here being simply that it compiles a little bit slower? |
Yes, and also at runtime when the linker has to look up libraries to load. The extra links make it harder to debug, if you're looking a shared library and it has lots of libraries then you need to look at each of them to figure out where a symbol lives, or if you're a package manager like apt or Homebrew then automatic pruning of packages becomes more complicated as you may have libraries that aren't even used. There are some ways to automatically handle it with "as needed" like options, but they're not perfect. Also, if you're building on Windows or building static libraries/applications then having lots of redundant links can make linking order a problem. Finally, it's just sloppy, and someone coming along afterwards may be left thinking "is this library linked for a reason or was it just carelessness"? That can make debugging an issue more difficult. For a similar reasons many style guides and linters encourage you to only include what you use in C++ or import what you use in Python. |
* minor fixup to prerequisites * language cleanup
Create one or several PRs that apply the same conversions from Catkin to Ament across all
moveit
repo-based MoveIt packages. Here's a relevant debate on how to do this for moveit2The text was updated successfully, but these errors were encountered: