Home » Developing U++ » Mac OS » How can I do with theide use -framework ApplicationServices in mac osx
|
Re: How can I do with theide use -framework ApplicationServices in mac osx [message #45788 is a reply to message #45781] |
Mon, 04 January 2016 21:15 |
|
Hi Charlie,
You would just add the CFLAGS (i.e. -pedantic -Weverything) to "Common C++ options" and LIBS (i.e. -framework ApplicationServices) to "Common link options".
But I believe that what you really want with the -framework option, is to actually add it only to package which uses it. If you added it to build method, then it'll be used in all your projects, compiled with that method.
If you only need this for certain package, go to Project > Package organizer, select package which requires this framework and from the menu (right click to the pane on the right side) select "New link options". You'll get a dialog where you can fill the "When" clause and second field where you can fill the linker options. The When clause can be used to specify that the option should be used only when building with certain flag or combination of flags (leave it empty if it should be used always).
To see if your options have been applied as intended, you can check the "Be verbose" checkbox in Setup menu.
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Fri Sep 20 22:08:18 CEST 2024
Total time taken to generate the page: 0.03495 seconds
|