aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/common.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-16 17:43:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-05-16 17:43:52 +0200
commit2140a1c2817eacf013fe3ce559fb23cedb02febb (patch)
tree1399d1d0c9ce4d031c77aac96821d85524c81a29 /build2/cc/common.hxx
parenta818bc13a6a65916aeb68e4e3cdce290f8a3e2a4 (diff)
Implement separate preprocess and compiler for GCC and Clang
Diffstat (limited to 'build2/cc/common.hxx')
-rw-r--r--build2/cc/common.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/cc/common.hxx b/build2/cc/common.hxx
index 0c8ff2b..c22140c 100644
--- a/build2/cc/common.hxx
+++ b/build2/cc/common.hxx
@@ -29,8 +29,9 @@ namespace build2
lang x_lang;
const char* x; // Module name ("c", "cxx").
- const char* x_name; // Compiler name ("c", "c++").
+ const char* x_name; // Compiler name ("c", "c++"; also used in -x).
const char* x_default; // Compiler default ("gcc", "g++").
+ const char* x_pext; // Preprocessed source extension (".i", ".ii").
const variable& config_x;
const variable& config_x_poptions;