Closed tapiab closed 4 weeks ago
The changes in this pull request modify the CMakeLists.txt
file for the OpenSpaceToolkitPhysics project, focusing on C++ standard support and architecture-specific settings. The logic for enabling C++17 has been expanded to include ARM architecture ("aarch64"). The restructuring of the CMake script ensures that if the compiler is GNU, it checks for either the BUILD_WITH_CXX_17
option or the architecture match before setting the C++ standard. If neither condition is satisfied, it defaults to C++20. Output paths for libraries and headers remain unchanged.
File | Change Summary |
---|---|
CMakeLists.txt | Modified C++ standard configuration to include "aarch64" for C++17 support; restructured logic for setting C++ standard based on compiler type and options; retained messages for clarity. |
In the land of code where rabbits play,
CMake's magic paves the way.
With C++17 on ARM, we cheer,
Building dreams, our path is clear!
Hops and jumps, through logic we weave,
In every line, new worlds we believe! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 81.94%. Comparing base (
3e8e555
) to head (9871c04
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR forces C++17 support for aarch64
Summary by CodeRabbit