-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation for per-subproject options.
- Loading branch information
Showing
2 changed files
with
56 additions
and
0 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. Current | ||
per-subproject options are converted to augments on the fly. It is | ||
expected that the logic might be changed in the next few releases as | ||
logic errors are discovered. | ||
|
||
We have tried to keep backwards compatibility as much as possible, but | ||
this may lead to some build breakage. |