forked from mesonbuild/meson
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update buildtype from debug and optimization
By adding a flag to indicate whether an option was explicitly set or not, it is now possible to update the value of `buildtype` from the values of `debug` and `optimization`, without modifying options that are explicitly set. Fixes mesonbuild#11645 Fixes mesonbuild#5814 (maybe this one was already fixed, but at least a test proves it works)
- Loading branch information
Showing
4 changed files
with
120 additions
and
45 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
project( | ||
'empty project', | ||
default_options : [ | ||
'buildtype=release', | ||
'optimization=2', | ||
'b_ndebug=if-release' | ||
] | ||
) |
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