Boost logo

Boost-Build :

Subject: [Boost-build] building the final library name...
From: Thomas Lehmann (t.lehmann_at_[hidden])
Date: 2010-01-14 07:39:11


Hi!

Story:

I'm trying to use boost to build a library for different
target parameters like 23bit/64bit, debug/release, windows/linux, ...

At least boost does create a valid tree depending at least on all
of this parameter with "dummy.lib" as result.

Now I create a install target and the dummy.lib will be places at
a central location, but...

Question:

Of course I would like to have dummy_linux_32.lib and dummy_linux64.lib
and so on...

How do I have to set up a JAM file for this?
(see APPENDIX for my example)

best regards,
Thomas

APPENDIX:

local HOSTNAME = [ modules.peek : HOSTNAME ] ;

project dummy
     : requirements <include>.
     : build-dir ../Binaries/$(HOSTNAME)/dummy
     ;

exe "dummy"
     : [ glob *.cxx ]
     : <toolset>msvc
     ;

exe "dummy"
     : [ glob *.cxx ]
     : <toolset>gcc
     ;

install dist
   : "dummy"
   : <location>../Binaries/$(HOSTNAME)
   ;


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