forked from Unity-Technologies/crunch
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: rewrite the build options and the flag setting
- 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, disabled 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
- Loading branch information
Showing
1 changed file
with
121 additions
and
28 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