From aaf2525e9e8ed356feba437e56df737428a52f55 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 17 May 2017 15:13:58 +0200 Subject: 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] --- build2/cc/common.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'build2/cc/common.hxx') diff --git a/build2/cc/common.hxx b/build2/cc/common.hxx index c22140c..3abb086 100644 --- a/build2/cc/common.hxx +++ b/build2/cc/common.hxx @@ -63,8 +63,9 @@ namespace build2 const variable& c_export_loptions; const variable& c_export_libs; - const variable& c_type; // cc.type - const variable& c_system; // cc.system + const variable& c_type; // cc.type + const variable& c_system; // cc.system + const variable& c_reprocess; // cc.reprocess const variable& x_std; -- cgit v1.1