From becea217436a79b7ef37a023da6cb4c560225a71 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 Dec 2015 14:24:10 +0200 Subject: Redo extension derivation for file{}, doc{}, and cli{} We now first check the 'extension' variable, then use the default. --- build/cli/target.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'build/cli') diff --git a/build/cli/target.cxx b/build/cli/target.cxx index a480633..6eef99b 100644 --- a/build/cli/target.cxx +++ b/build/cli/target.cxx @@ -15,13 +15,15 @@ namespace build { // cli // - constexpr const char cli_ext[] = "cli"; + constexpr const char cli_ext_var[] = "extension"; + constexpr const char cli_ext_def[] = "cli"; + const target_type cli::static_type { "cli", &file::static_type, &target_factory, - &target_extension_fix, + &target_extension_var, &search_file, false }; -- cgit v1.1