diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-04-11 14:44:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-04-30 16:56:08 +0200 |
commit | a14b9bc18431c6aed8441261d28b6ff20bd25935 (patch) | |
tree | ae1f07caef838b5b03fa3f82a2cfccbb62b24ed3 /build2/cc/common.hxx | |
parent | ca0f9c71be279aee845bf5328ac0af8c02c8849e (diff) |
Initial take on header unit and include translation support
Diffstat (limited to 'build2/cc/common.hxx')
-rw-r--r-- | build2/cc/common.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build2/cc/common.hxx b/build2/cc/common.hxx index 39301b9..f9f13c1 100644 --- a/build2/cc/common.hxx +++ b/build2/cc/common.hxx @@ -47,6 +47,7 @@ namespace build2 const variable& config_x_coptions; const variable& config_x_loptions; const variable& config_x_libs; + const variable* config_x_header_units; const variable& x_path; // Compiler process path. const variable& x_sys_lib_dirs; // System library search directories. @@ -56,6 +57,7 @@ namespace build2 const variable& x_coptions; const variable& x_loptions; const variable& x_libs; + const variable* x_header_units; const variable& c_poptions; // cc.* const variable& c_coptions; @@ -138,6 +140,8 @@ namespace build2 bool modules; // x.features.modules bool symexport; // x.features.symexport + const strings* hdr_units; // x.header_units (NULL if unused/empty) + const dir_paths& sys_lib_dirs; // x.sys_lib_dirs const dir_paths& sys_inc_dirs; // x.sys_inc_dirs @@ -206,6 +210,7 @@ namespace build2 tstd (std), modules (fm), symexport (fs), + hdr_units (nullptr), sys_lib_dirs (sld), sys_inc_dirs (sid), sys_lib_dirs_extra (sle), sys_inc_dirs_extra (sie), x_src (src), x_mod (mod), x_hdr (hdr), x_inc (inc) {} |