Boost logo

Boost-Build :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2006-10-07 14:35:00


Phillip Seaver wrote:
> We use it in a few of our programs, but I ended up writing my own
> wxWidgets jamfile because I wanted BB to actually do the build, I didn't
> like the way wx did the build, and I use different versions of the
> libraries they include (jpeg, expat, etc.). :-)

Similarly for me, except since I don't use much of the wx image loading
support (only the png loading), it was easier just to use the built in code.

> If you want to build against the system ones, though, you may want to
> look at http://thread.gmane.org/gmane.comp.lib.boost.build/13546 Alex
> created a file that actually parses the bakefiles to figure out what to
> build -- I haven't tried it yet, though.

Some clarification here. AFAIK; Alex wrote support that uses the
prebuilt wx libraries, although you can use his code to build wx like
libs, and of course with more work build wx itself. I wrote the support
that parses the bakefiles and builds the wx libraries ala Boost style.
It's in that same thread that I mention it.

> As for the system libraries (shell32, etc.), I use
> "<toolset>msvc:<find-static-library>shell32" in the build requirements
> for executables (or usage requirements for libs). I don't know if
> that's the best way to do things, but it works.

It's close to what I use:

   <wx-platform>win32:<find-shared-library>kernel32
   <wx-platform>win32:<find-shared-library>user32

I also use things like:

   [ conditional <wx-platform>win32 <wx-drag_and_drop>enable :
     <find-shared-library>ole32
     <find-shared-library>oleaut32
     <find-shared-library>rpcrt4 ]

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

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