You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to The Meson Build System
What is the correct way for locating/linking OSX/iOS frameworks? I browsed the code and I can see that things like OpenGL will just work -- dependency('gl') -- but what about frameworks which don't have a corresponding library on non-Apple platforms? Obviously adding them on the linker command line would work but I wasn't sure if there is a better way!
Jussi Pakkanen
unread,
May 19, 2017, 4:31:51 PM5/19/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
> What if the framework is not built-in? How do I tell meson to link a
> specific custom framework (let's say it is a subproject)?
For subprojects you would not use a framework but declare_dependency.
Emil Dotchevski
unread,
May 29, 2017, 10:48:25 PM5/29/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to The Meson Build System, emildot...@gmail.com
What I mean is that the subproject comes in the form of frameworks, e.g. like Qt. Can I tell declare_dependency that it's a pre-built framework, so it knows to use -F/-framework? But maybe this isn't a huge deal, I could manually do -F/-framework on Mac/iOS.