-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make all Meson level options overridable per subproject.
- Loading branch information
Showing
63 changed files
with
1,971 additions
and
829 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Per project subproject options rewrite | ||
|
||
You can now define per-subproject values for all shared configuration | ||
options. As an example you might want to enable optimizations on only | ||
one subproject: | ||
|
||
meson configure -Dnumbercruncher:optimization=3 | ||
|
||
Subproject specific values can be removed with -U | ||
|
||
meson configure -Unumbercruncher:optimization | ||
|
||
This is a major change in how options are handled, and the | ||
implementation will evolve over the next few releases of Meson. If | ||
this change causes an error in your builds, please [report an issue on | ||
GitHub](https://github.com/mesonbuild/meson/issues/new). | ||
|
||
We have tried to keep backwards compatibility as much as possible, but | ||
this may lead to some build breakage. |
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
Oops, something went wrong.