Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-04-19 01:21:02


Erik Purins wrote:

>> <toolset>msvc,<variant>debug:<debug-store>database
>>
>> (Note the command between condition elements). I hope it will work, if
>> not, let us know.
>
> Thanks for your help; now I found the section on
> condition elements in the documentation.
>
> I tried this line in the requirements of my project's root jamfile;
> libraries included in a lib target sources list are invoked with /Z7,
> not the build flag /Zi expected. When I use only one conditional property,
> the /Zi flag is used as expected.
>
> I tried this line in the requirements of the library's jamfile directly,
> and this also failed.

I've just tested the project at

http://zigzag.cs.msu.su:7813/Zi

When I run

bjam -n msvc

I see

msvc.compile.c++ bin/msvc/debug/debug-store-database/a.o

/Zm800 -nologo -TP /Zi /Od /Ob0 /GX /GR /MDd -c
-Fo"bin/msvc/debug/debug-store-database/a.o" "a.cpp"

So the /Zi flag is there (note that the command missed the compiler name
since I was doing that on Linux which does not have vc7 installed ;-).

Could you try that test? If it produces bad result for you, maybe it was a
bug which is fixed in CVS.

- Volodya

 


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