Drop the comma, each -D
is its own argument to the compiler:
-DEXAMPLE -DEXAMPLE2
質問
In Build settings, at custom compiler Flags, how can i declare two other C
flags names?
For example:
Other C Flags: -DEXAMPLE
I tried:
Other C Flags: -DEXAMPLE
, -DEXAMPLE2
-DEXAMPLE2
is not working. How can i declare multiple C
Flags?
解決
Drop the comma, each -D
is its own argument to the compiler:
-DEXAMPLE -DEXAMPLE2