-
Notifications
You must be signed in to change notification settings - Fork 3
direct_assignment
Samantha Marshall edited this page Jul 11, 2016
·
3 revisions
The language leverages the for
keyword used as part of build setting variable substitution in addition with a special keyword (*
) that denotes direct assignment of a build setting variable.
Example:
setting OTHER_CFLAGS {
for * {
-Wall,
-Werror
}
}
This code will produce the following assignment in the generated xcconfig file:
OTHER_CFLAGS = -Wall -Werror
Note: When listing values to assign, the pyconfig format does NOT support trailing commas on the final list items and may pass linting validation but not generate correctly.