cmake: rewrite the build options and the flag setting#51
Merged
Conversation
- Add USE_LTO to enable LTO, enabled by default. - Add USE_EXTRA_OPTIMIZATION to also enable -O3 when it is not used by default enabled by default. - Add USE_FAST_MATH, to produce reproducible CRN files this should be disabled, enabled by default. - Increase warning verbosity level. - Generate maximum amount of debug information, including macro definitions. - Always disable strict aliasing, the code requires it to always be disabled. Fixes #29
924ab20 to
5cfbc69
Compare
5cfbc69 to
1f983f7
Compare
Member
Author
|
This also changes spaces for the 5% of the remaining untouched code. I was annoyed by the whitespace ascii art and anyway I almost rewrote everything. |
1f983f7 to
9554fe0
Compare
slipher
reviewed
Jun 28, 2024
bfea00c to
b58e434
Compare
Member
|
LGTM |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rewrite the options and the flag setting
enabled by default.
enabled by default.
enabled by default.
Fixes #29: