You can create a set of build-setting macros that Project Builder uses only when a specified condition is true. For example, you could specify that when the target is being installed, Project Builder should use the highest level of optimization and warning.
These conditional macro settings are appended to the end of the global macro settings. For example, if the global setting of WARNING_CFLAGS
is -Wunused
and a conditional setting is -Wtrigraphs
, then the value of WARNING_CFLAGS
if the condition is true is -Wunused -Wtrigraphs
.
To add a new set of conditional settings:
$(ACTION) in install
.
To edit the macros in a conditional set: