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
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top