2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-20 14:42:14 +00:00

Set BOOST_BUILD_PCH_ENABLED when compiling PCH itself.

[SVN r35709]
This commit is contained in:
Vladimir Prus
2006-10-23 18:47:43 +00:00
parent e8dcf9ef86
commit db4f3cacf9

View File

@@ -75,7 +75,8 @@ class pch-generator : generator
}
else
{
local r = [ run-pch $(project) $(name) : $(property-set)
local r = [ run-pch $(project) $(name)
: [ $(property-set).add-raw <define>BOOST_BUILD_PCH_ENABLED ]
: $(sources) ] ;
return [ generators.add-usage-requirements $(r)
: <define>BOOST_BUILD_PCH_ENABLED ] ;