From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-06-29 01:32:58
On Wednesday 29 June 2005 03:49, chiedo_a wrote:
> Hey everyone,
> I'm working with a group of people on a boost project and most members
> would rather not use the command line to build the boost libraries. My
> manager requested that I create a XCode project (using 2.1 on OS X 10.4.1)
> that builds a boost.framework file that will grant any project boost
> functionality when it is included. The framework must compile the headers
> and libraries using the .hpp and .cpp files. Does anyone have any
> suggestions on how to actually accomplish this?
> My current strategy is to basically read through the jamfiles and figure
> out which .cpp files are necessary for each library (most likely all the
> files in the ..../src directory). From there I should theoretically be
> able to just add these files to an xcode framework target and compile.
> Right? Are there any environment variables or compiler settings that are
> going to need to be set?
1. You can't do what you're trying ;-) For example, the Boost.Test library has
several library targets, and all of the define "main". If you link them all
together you'll either get link error, or underfined behaviour. No other
library has this problem, as far as I know.
2. I am not aware about any defines needed specifically for OSX, but you might
want to check tools/v1/darwin-tools.jam for the compiler flags that are
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
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