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



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...


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,


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, david.abrahams at, gregod at, cpdaniel at, john at