aboutsummaryrefslogtreecommitdiff
path: root/build/cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-02 14:24:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-02 14:45:13 +0200
commitbecea217436a79b7ef37a023da6cb4c560225a71 (patch)
tree5017f0ad3bc4d78ad737f4dc2b8b2036bb5f5664 /build/cxx
parent685fe65f6b26b9e57c3d10cfe68c66d8baff8a68 (diff)
Redo extension derivation for file{}, doc{}, and cli{}
We now first check the 'extension' variable, then use the default.
Diffstat (limited to 'build/cxx')
-rw-r--r--build/cxx/target.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/build/cxx/target.cxx b/build/cxx/target.cxx
index c8680b7..b84167b 100644
--- a/build/cxx/target.cxx
+++ b/build/cxx/target.cxx
@@ -16,7 +16,7 @@ namespace build
"hxx",
&file::static_type,
&target_factory<hxx>,
- &target_extension_var<hxx_ext_var>,
+ &target_extension_var<hxx_ext_var, nullptr>,
&search_file,
false
};
@@ -27,7 +27,7 @@ namespace build
"ixx",
&file::static_type,
&target_factory<ixx>,
- &target_extension_var<ixx_ext_var>,
+ &target_extension_var<ixx_ext_var, nullptr>,
&search_file,
false
};
@@ -38,7 +38,7 @@ namespace build
"txx",
&file::static_type,
&target_factory<txx>,
- &target_extension_var<txx_ext_var>,
+ &target_extension_var<txx_ext_var, nullptr>,
&search_file,
false
};
@@ -49,7 +49,7 @@ namespace build
"cxx",
&file::static_type,
&target_factory<cxx>,
- &target_extension_var<cxx_ext_var>,
+ &target_extension_var<cxx_ext_var, nullptr>,
&search_file,
false
};
@@ -60,7 +60,7 @@ namespace build
"h",
&file::static_type,
&target_factory<h>,
- &target_extension_var<h_ext_var>,
+ &target_extension_var<h_ext_var, nullptr>,
&search_file,
false
};
@@ -71,7 +71,7 @@ namespace build
"c",
&file::static_type,
&target_factory<c>,
- &target_extension_var<c_ext_var>,
+ &target_extension_var<c_ext_var, nullptr>,
&search_file,
false
};