-
Notifications
You must be signed in to change notification settings - Fork 528
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
Factor out common cmake code to moveit_package macro #285
Conversation
Factored out common cmake code to moveit_package macro.
Codecov Report
@@ Coverage Diff @@
## main #285 +/- ##
=======================================
Coverage 47.64% 47.64%
=======================================
Files 154 154
Lines 14844 14844
=======================================
Hits 7073 7073
Misses 7771 7771 Continue to review full report at Codecov.
|
Removed whitespace
Looks like clang format and gcc build have passed however there's a warning from moveit_planners_ompl causing clang build to fail. The warning is 'ompl_interface::StateValidityChecker::isValid' hides overloaded virtual function [-Woverloaded-virtual] It could be suppressed from the moveit_planners_ompl CMakeLists.txt, or should this be fixed? |
@lilustga Well, this is strange. I don't know how this issue could have been introduced here, it should be checking for the same warnings as before. I think it should be fixed if possible. |
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.
Looks good to me. Please consider moving the moveit_common macros to the top with a short comment, I think it would be cleaner and more consistent.
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.
I approve this approach. It is cleaner and a nice way to consolidate common cmake settings for the whole repo. Please remove the commented out code.
Travis clang build and code coverage look like they failed due to a transient issue. @henningkayser are you able to restart the build checks (I think it requires write access)? |
It seems like the checks work now, but there are some unrelated CI fixes I'm currently working on |
CI issues are fixed with #294. After that, I would squash-merge this PR |
Description
Created the moveit_common package containing a moveit_package() macro. This is used to apply basic cmake code to all moveit packages.
This macro allows CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS to be set for all moveit packages and allows for any new cmake code to be applied to all packages easily in the future.
Similar idea to this commit in nav2:
ms-iot/navigation2@3f65576
Checklist