質問

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