Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-02-02 11:19:45


scaringi_stephen wrote:
>Hello,
>
>As you can tell from the subject, I'm new to BB. I'm looking at BB to
>possibly convert some of our MS VS projects. I've checked out the latest
>from CVS and compiled bjam:
>
>Running the simple hello example works fine. But when I add a <define> to
>the jamfile, I don't see a /D flag on the command line. Here's the jamroot
>file:

<define> and <include> values are added to the response files (to save
command line space!).

>/Wp64 /GB /wd4675 /EHs @"bin\msvc\debug\hello.obj.rsp" -c
>
>Shouldn't there be a /D "TESTING" argument passed to cl?

Look in the bin\msvc\debug\hello.obj.rsp file mentioned above.

>If I replace the <define>TESTING with <cxxflags>"/D \"TESTING\"", then it
>shows up.

That's because <cxxflags> values are explicitly added to the command line
and not the response file.

NOTE: If you don't see the /DTESTING line in the response file, try deleting
it and re-running the build.

- Reece


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