문제

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