-
Notifications
You must be signed in to change notification settings - Fork 102
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
Control shared/static linking via BUILD_SHARED_LIBS #94
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this makes it slightly less portable (depends on ament_cmake_ros
rather than ament_cmake
), but that doesn't matter for now, though we should consider how to integrate this setting (shared vs. static libraries) in other packages which will not depend on ament_cmake_ros
or even ament_cmake
, e.g. yaml-cpp or opencv, etc... depending on how high up you want to go in the static linking.
Any package can directly support |
It makes this package depend on something outside of We could, instead, decide not to depend on |
This sounds orthogonal to this patch then imo. Please consider bringing it up in the |
The only reason you're depending on
Nothing needs to be changed in I'm not asking you to change anything, but the idea that this is unrelated to the topic of the pr is way off in my opinion. |
I think @wjwwood's point is valid. Maybe a compromise could be:
|
From my point of view
Maybe we should consider to rename the definition to While all of these options can be considered I would rather not let them stall this PR. They can be discussed in the context of |
Rebased version of #62. Connect to ros2/ros2#468.