-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Allow for environment override of CMAKE_CXX_FLAGS
* Allow for CMAKE_CXX_FLAGS to use its default behavior of taking the value of CXXFLAGS if it exists in the environment. - c.f. https://cmake.org/cmake/help/v3.31/envvar/CXXFLAGS.html - Set CMAKE_CXX_FLAGS and then determine all other compiler or linker flags. * Remove subtractive behavior of removing compiler flags and instead use additive behavior. This both makes the user more responsible for their flag choices and ensures that known required flags can be added without interfering as repeated flags are safe. * Set range of compatible CMake versions to allow more modern CMake to be used if available. - Bump lower bound on CMake to v3.12 when this feature was added. - c.f. https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html * Correct typos: - 'CMAKE_INSTALL_INCLUDE_DIR' -> 'CMAKE_INSTALL_INCLUDEDIR' * Add pixi ignores to .gitignore.
- Loading branch information
1 parent
b778fa9
commit deac7cf
Showing
2 changed files
with
33 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters