-
Notifications
You must be signed in to change notification settings - Fork 3
use
Samantha Marshall edited this page Aug 8, 2016
·
3 revisions
The use keyword is a modifier for a setting declaration. By default, when performing variable substituion, pyconfig will use the CONFIGURATION variable as the variable that is expected to change per build configuration. With use you can change what variable is substituted, to customize build setting values are composed. This keyword is entirely optional.
The following code will tell the linker that we want to link the Reveal framework when building the .app (application), but not when building the .xctest (unit test bundle).
setting OTHER_LDFLAGS use WRAPPER_EXTENSION {
for app {
-framework "Reveal"
}
for xctest
}