Reputation: 751
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
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:
More info can be seen in this very related question.
Upvotes: 4