Pregunta

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?

¿Fue útil?

Solución

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

-DEXAMPLE -DEXAMPLE2
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top