Billy
Billy

Reputation: 751

Using Xcode to compile -fvisibility=hidden

Anyone knows how to use Xcode to compile with -fvisibility=hidden

I am new to Xcode, Some screenshot would be better.

Upvotes: 0

Views: 1419

Answers (1)

Michael Dautermann
Michael Dautermann

Reputation: 89509

go to your project's build settings in Xcode, use the search field to look for "Other C Flags" and then enter in "-fvisibility=hidden" like this: add visibility hidden flag

More info can be seen in this very related question.

Upvotes: 4

Related Questions