define(_:to:_:)
Defines a value for a macro.
Declaration
static func define(_ name: String, to value: String? = nil, _ condition: BuildSettingCondition? = nil) -> CXXSettingParameters
- name:
The name of the macro.
- value:
The value of the macro.
- condition:
A condition that restricts the application of the build setting.
Discussion
If you don’t specify a value, the macro’s default value is 1.