aboutsummaryrefslogtreecommitdiff
path: root/build2/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-03-10 11:51:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-03-10 11:51:24 +0200
commit6362c4e4eda8340eedc73dfdbf6b92b281ccbadd (patch)
treec4878757293cc61398e257b96b0a30914e85e3a6 /build2/cc
parenta81d3fb9160b3032124bdc58e76619b724ccdb6c (diff)
Implement support for wildcard patterns
Diffstat (limited to 'build2/cc')
-rw-r--r--build2/cc/target.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/build2/cc/target.cxx b/build2/cc/target.cxx
index d8c3b97..f269b35 100644
--- a/build2/cc/target.cxx
+++ b/build2/cc/target.cxx
@@ -17,6 +17,7 @@ namespace build2
nullptr,
nullptr,
nullptr,
+ nullptr,
&search_target,
false
};
@@ -30,6 +31,7 @@ namespace build2
&file::static_type,
&target_factory<h>,
&target_extension_var<ext_var, h_ext_def>,
+ &target_pattern_var<ext_var, h_ext_def>,
nullptr,
&search_file,
false
@@ -42,6 +44,7 @@ namespace build2
&cc::static_type,
&target_factory<c>,
&target_extension_var<ext_var, c_ext_def>,
+ &target_pattern_var<ext_var, c_ext_def>,
nullptr,
&search_file,
false