Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[cmake] Add back cxx_std_ compile feature #15254

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

hahnjo
Copy link
Member

@hahnjo hahnjo commented Apr 17, 2024

Partially revert commit d487a42 ("[cmake] Set CMAKE_CXX_STANDARD explicitly in RootUseFile.cmake") because this is required to propagate the C++ standard via CMake library targets, as advertised on the website.

Fixes #15253 (needs to be backported to v6-32-00-patches)

Partially revert commit d487a42 ("[cmake] Set CMAKE_CXX_STANDARD
explicitly in RootUseFile.cmake") because this is required to propagate
the C++ standard via CMake library targets, as advertised on the
website.

Fixes root-project#15253
@hahnjo hahnjo added in:Build System clean build Ask CI to do non-incremental build on PR labels Apr 17, 2024
@hahnjo hahnjo requested a review from guitargeek April 17, 2024 09:38
@hahnjo hahnjo self-assigned this Apr 17, 2024
@hahnjo hahnjo requested a review from bellenot as a code owner April 17, 2024 09:38
Copy link

Test Results

    12 files      12 suites   2d 6h 5m 41s ⏱️
 2 623 tests  2 623 ✅ 0 💤 0 ❌
29 514 runs  29 514 ✅ 0 💤 0 ❌

Results for commit 80cdfa2.

Copy link
Member

@bellenot bellenot left a comment

Choose a reason for hiding this comment

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

LGTM thanks Jonas!

Copy link
Contributor

@guitargeek guitargeek left a comment

Choose a reason for hiding this comment

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

LGTM! As long as we are not regressing to putting the standard in the CMAKE_CXX_FLAGS ( see #6384), any part of the linked commit can be reverted.

@hahnjo hahnjo merged commit 9e67151 into root-project:master Apr 17, 2024
16 checks passed
@hahnjo hahnjo deleted the cmake-cxx-standard branch April 17, 2024 15:03
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
clean build Ask CI to do non-incremental build on PR in:Build System
Projects
None yet
Development

Successfully merging this pull request may close these issues.

C++ standard not propagated via CMake anymore
3 participants