Skip to content
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

Remove unnecessary CMake variables and lists #1790

Merged
merged 1 commit into from
Dec 6, 2022

Conversation

tylerjw
Copy link
Member

@tylerjw tylerjw commented Dec 6, 2022

Description

In moveit_core CMakeLists.txt

  • Place all the find_package calls in a single group and sort them alphabetically.
  • Eliminate the lists THIS_PACKAGE_LIBRARIES and THIS_PACKAGE_INCLUDE_DEPENDS that are only used in one place by putting the contents in the install.
  • Update the exported dependencies to include all dependencies we find_package on. I think this fixes some transitive dependencies not being exported.
  • Remove unnecessary variables PROJECT_NAME and VERSION_FILE_PATH.
  • Sort add_subdirectory calls.

@mergify
Copy link

mergify bot commented Dec 6, 2022

This pull request is in conflict. Could you fix it @tylerjw?

moveit_core/CMakeLists.txt Outdated Show resolved Hide resolved
@tylerjw tylerjw force-pushed the less_lists branch 2 times, most recently from fe19846 to d67f659 Compare December 6, 2022 21:51
@codecov
Copy link

codecov bot commented Dec 6, 2022

Codecov Report

Base: 50.24% // Head: 50.24% // Increases project coverage by +0.01% 🎉

Coverage data is based on head (f46056f) compared to base (bbbccbd).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1790      +/-   ##
==========================================
+ Coverage   50.24%   50.24%   +0.01%     
==========================================
  Files         374      374              
  Lines       31277    31277              
==========================================
+ Hits        15711    15712       +1     
+ Misses      15566    15565       -1     
Impacted Files Coverage Δ
moveit_core/robot_state/src/robot_state.cpp 47.95% <0.00%> (+0.08%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@tylerjw tylerjw force-pushed the less_lists branch 4 times, most recently from 0699dea to c25f782 Compare December 6, 2022 22:21
Signed-off-by: Tyler Weaver <tyler@picknik.ai>
Copy link
Contributor

@vatanaksoytezer vatanaksoytezer left a 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!

@tylerjw tylerjw merged commit 2c70d01 into moveit:main Dec 6, 2022
@tylerjw tylerjw deleted the less_lists branch December 6, 2022 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants