Boost logo

Boost-Build :

Subject: Re: [Boost-build] Linking to frameworks on MacOS?
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2010-02-15 14:30:27


Emil Dotchevski wrote:
> I did some googling around but I can't figure it out on my own: how do
> I write a Jamfile that makes my project link to a Mac OS framework?
>
> For example, if I want to have a Boost Build script link my code to
> OpenGL on MacOS X, what do I do?

This is what I use in my target requirements:

[ conditional <target-os>iphone :
        <framework>UIKit
        <framework>Foundation
        <framework>CoreFoundation
        <framework>QuartzCore
        <find-shared-library>objc
        ]

HTH

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org (msn) - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk