Subject: Re: [Boost-build] use of precompiled headers fail
From: Nogradi, Chris (Chris.Nogradi_at_[hidden])
Date: 2011-12-20 08:48:55
I presume that you are missing a <include>src
From: boost-build-bounces_at_[hidden] [mailto:boost-build-bounces_at_[hidden]] On Behalf Of Thorsten Ottosen
Sent: Thursday, December 15, 2011 6:39 AM
To: Boost.Build developer's and user's list
Subject: [Boost-build] use of precompiled headers fail
I'm trying to follow the directions here
to enable the use of precompiled headers.
Our source code layout is
In my jamfile I have specified
cpp-pch stdafx : src/stdafx.h ;
lib CUtils : [ glob src/*.cpp ] stdafx : <link>static ;
This causes bjam to try to generate the precompiled header file.
However, it fails with
\stdafx.pch.cpp(1) : fatal error C1083: Cannot open
include file: 'stdafx.h': No such file or directory
I guess this is not surprising as this header is inside the "src/"
Is this a bug, or is it a requirement that the Jamfile must be located
in the same directory as the source itself?
PS: this is my version:
Boost.Build V2 (Milestone 12)
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.
Thank you for your cooperation.
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