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

Update CMakeLists.txt #123

Merged
merged 2 commits into from
Sep 9, 2024
Merged

Update CMakeLists.txt #123

merged 2 commits into from
Sep 9, 2024

Conversation

mosfet80
Copy link
Contributor

minimum active ros2 (humble) require cxx 17 standard and cmake >=3.8.

https://docs.ros.org/en/humble/The-ROS2-Project/Contributing/Code-Style-Language-Versions.html

@codecov-commenter
Copy link

codecov-commenter commented May 15, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.92%. Comparing base (ad17b8d) to head (338eed5).
Report is 4 commits behind head on ros2.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             ros2     #123      +/-   ##
==========================================
+ Coverage   67.09%   68.92%   +1.83%     
==========================================
  Files           3        4       +1     
  Lines         641      698      +57     
  Branches        0       87      +87     
==========================================
+ Hits          430      481      +51     
- Misses        211      213       +2     
- Partials        0        4       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@rhaschke rhaschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

CMakeLists.txt Outdated
Comment on lines 4 to 8
# Default to C++17
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD 17)
endif()

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can drop the C++ standard definition completely, as C++17 is the default in Ubuntu 22 and later.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, c++17 is not standard on all operating systems.

C++17 is the default in Ubuntu Jammy and later.
@rhaschke rhaschke merged commit 72aaebd into moveit:ros2 Sep 9, 2024
9 checks passed
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.

3 participants