-
Notifications
You must be signed in to change notification settings - Fork 50
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
cmake: Add RMW_IMPLEMENTATION_FORCE_POCO
#59
Conversation
Signed-off-by: Eric Cousineau <[email protected]>
0af496f
to
9c193e4
Compare
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.
The logic / control flow is pretty hard to read atm. I would suggest to simplify it as follows:
- if
RMW_IMPLEMENTATION_FORCE_POCO
andNOT Poco_FOUND
:message(FATAL_ERROR ...)
RMW_IMPLEMENTATION_USE_POCO
=Poco_FOUND
- if
NOT RMW_IMPLEMENTATIONS MATCHES ";" set
RMW_IMPLEMENTATION_USE_POCOto
FALSE` - if
RMW_IMPLEMENTATION_FORCE_POCO
set it back toTRUE
I'm just curious why Googling briefly, I think the generic term for this is "dynamic loading" (https://en.wikipedia.org/wiki/Dynamic_loading), so maybe |
SGTM! |
Er, also, how do y'all prefer reviews / commit curation? |
Signed-off-by: Eric Cousineau <[email protected]>
a535ea3
to
1be6c07
Compare
Done, with minor adjustment for logic of BTW, it would be really nice to make Not a huge deal, but may simplify things future usages. @wjwwood Made the local change for I can rename |
Sorry! Just found my answer here: https://index.ros.org/doc/ros2/Contributing/Developer-Guide/#pull-requests |
Signed-off-by: Eric Cousineau <[email protected]>
Thanks for the patch. |
* add event APIs to wait_set * Add rmw_take_event * update rmw interface API * add section about DCO to CONTRIBUTING.md * cmake: Add `RMW_IMPLEMENTATION_FORCE_POCO` (ros2#59) * cmake: Add `RMW_IMPLEMENTATION_FORCE_POCO` Signed-off-by: Eric Cousineau <[email protected]> * WIP Address comments Signed-off-by: Eric Cousineau <[email protected]> * WIP Address comments Signed-off-by: Eric Cousineau <[email protected]> * change rmw_event_t APIs from create()/destroy() to init()/fini() pattern * Move rmw_*_event_init implementation to rmw
Resolves #58
\cc @dirk-thomas
This change is