diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-05-17 15:13:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-05-17 15:13:58 +0200 |
commit | aaf2525e9e8ed356feba437e56df737428a52f55 (patch) | |
tree | d6f0903840a743cf3dd0e37fa4d87e12b07fe3c6 /build2/cxx/init.cxx | |
parent | 23a1ab205c777330453a8137557cd02754533748 (diff) |
Add ability to disable use of preprocessed output in compilation
This can be done from a buildfile for a scope (including project root scope)
and per target via cc.reprocess:
cc.reprocess = true
obj{hello}: cc.reprocess = false
As as well externally via config.cc.reprocess:
b config.cc.reprocess=true [configure]
Diffstat (limited to 'build2/cxx/init.cxx')
-rw-r--r-- | build2/cxx/init.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build2/cxx/init.cxx b/build2/cxx/init.cxx index 70360bc..395a9f8 100644 --- a/build2/cxx/init.cxx +++ b/build2/cxx/init.cxx @@ -223,6 +223,7 @@ namespace build2 v["cc.type"], v["cc.system"], + v["cc.reprocess"], v.insert<string> ("cxx.std", variable_visibility::project), |