Frage

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?

War es hilfreich?

Lösung

Drop the comma, each -D is its own argument to the compiler:

-DEXAMPLE -DEXAMPLE2
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top