|
Boost-Build : |
From: Patrick Frants (gclbb-jamboost_at_[hidden])
Date: 2002-08-27 02:30:23
Hi,
Everything starts working for me now, so now I am interested in deriving my
own toolset qmsvc from the msvc toolset.
I can't find any features related to precompiled headers in the
features.jam file and did not find anything on the ASPN searchable
mailinglist about precompiled headers and boost.build. Of course I could
add my own features, but I'd rather use the regular boost.build
distribution since it is easier to upgrade then.
I would like to use the /YX flag. For now I hacked it into the vc-C++
action. I tried <qmsvc><*><cxxflags>/YX first, but of course this does not
work because I should use a feature value instead of a compiler option. Is
there a regular way to add /YX to the C++FLAGS only when I am using my
toolset?
Also I would like to set the filename of the precompiled header file. It
should be in the same directory as the executable and should have a .pch
extension instead of .exe. On the msvc commandline it looks like:
/Fp"c:\releases\2.4\quintesseobj\Server\Debug/server.pch"
Is there a way to achieve this in boost.build?
I have the same question for /Fd"c:\releases\2.4\quintesseobj\Server
\Debug/Server.pdb", which sets the name for the program database (debugging
symbols).
Patrick
-- Patrick Frants Senior Software Engineer Quintiq mailto:patrick_at_[hidden] www.quintiq.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