Boost logo

Boost-Build :

From: Johannes Brunen (jbrunen_at_[hidden])
Date: 2008-09-03 08:29:58


Hi,

I'm building a library project in static mode with the msvc 9.0 toolset:
'bjam debug release'

project Test
    : requirements <link>static
                   <variant>release:<optimization>speed <inlining>full
                   <variant>debug:<debug-symbols>on
<debug-store>database
    : source-location src
    : usage-requirements <include>./inc
;

lib Test : [ glob src *.cxx ] : <include>inc <tag>@$(__name__).my-tag ;

install TestDist : Test : <variant>release:<location>./lib
<variant>debug:<location>./libd ;

The rule my-tag is defined in my site-config.jam file

import type ;
import virtual-target ;

rule my-tag ( name : type ? : property-set )
{
    if [ type.is-derived $(type) LIB ]
    {
        if [ $(property-set).get <variant> ] = debug
        {
            return [ virtual-target.add-prefix-and-suffix $(name)d :
$(type) : $(property-set) ] ;
        }
    }
}

Up to now I got my libs named 'Test.lib' and 'Testd.lib' in the folders
'lib' and 'libd', respectively. Today I switched to the current
boost-build version (Boost.Build V2 (Milestone 12), Boost.Jam 03.1.17).
Now, my libraries are named 'libTest.lib' and 'libTestd.lib'. Is there
any measure I can perform in order to get my previous library names?

Additionally, the vc90.pdb file is generated in the root directory where
the jamroot file resides. Is it possible to generate that file also in
the same location the debug lib is build and later install it also in
the 'libd' directory?

Any help appreciated,

best,
Johannes

____________
Virus checked by G DATA AntiVirusKit
Version: AVK 19.291 from 03.09.2008
Virus news: www.antiviruslab.com


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