aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/common.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-11-05 11:34:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-11-05 11:34:47 +0200
commit4fe1c3c083acecf7eabe46b67cb540e8390f3122 (patch)
tree62f60d60ed49d037c00dd82b0c8f5ecacba32689 /libbuild2/cc/common.hxx
parentb95fe77721b5d3f35d94e7f1292c9581034cd4bd (diff)
Add support for supplying MSVC IFCPATH equivalent
Diffstat (limited to 'libbuild2/cc/common.hxx')
-rw-r--r--libbuild2/cc/common.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/libbuild2/cc/common.hxx b/libbuild2/cc/common.hxx
index 0548d6f..84d287c 100644
--- a/libbuild2/cc/common.hxx
+++ b/libbuild2/cc/common.hxx
@@ -162,8 +162,9 @@ namespace build2
const strings* xlate_hdr; // x.translatable_headers (NULL if
// unused/empty).
- const dir_paths& sys_lib_dirs; // x.sys_lib_dirs
- const dir_paths& sys_inc_dirs; // x.sys_inc_dirs
+ const dir_paths& sys_lib_dirs; // x.sys_lib_dirs
+ const dir_paths& sys_inc_dirs; // x.sys_inc_dirs
+ const optional<dir_paths>& sys_mod_dirs; // compiler_info::sys_mod_dirs
size_t sys_lib_dirs_extra; // First extra path (size if none).
size_t sys_inc_dirs_extra; // First extra path (size if none).
@@ -213,6 +214,7 @@ namespace build2
bool fs,
const dir_paths& sld,
const dir_paths& sid,
+ const optional<dir_paths>& smd,
size_t sle,
size_t sie,
const target_type& src,
@@ -232,7 +234,7 @@ namespace build2
modules (fm),
symexport (fs),
xlate_hdr (nullptr),
- sys_lib_dirs (sld), sys_inc_dirs (sid),
+ sys_lib_dirs (sld), sys_inc_dirs (sid), sys_mod_dirs (smd),
sys_lib_dirs_extra (sle), sys_inc_dirs_extra (sie),
x_src (src), x_mod (mod), x_hdr (hdr), x_inc (inc) {}
};