From d90ac405ae50f84a3cf4ba0b806cca1c89f81cff Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 26 Jul 2018 14:12:56 +0300 Subject: Make project variable to be of project_name type --- build2/utility.hxx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'build2/utility.hxx') diff --git a/build2/utility.hxx b/build2/utility.hxx index 6e76f05..0beec2e 100644 --- a/build2/utility.hxx +++ b/build2/utility.hxx @@ -388,15 +388,17 @@ namespace build2 verbosity, pp, args, forward (f), error, ignore_exit, checksum); } - // Empty/nullopt string and path. + // Empty/nullopt string, path, and project name. // - extern const string empty_string; - extern const path empty_path; - extern const dir_path empty_dir_path; + extern const string empty_string; + extern const path empty_path; + extern const dir_path empty_dir_path; + extern const project_name empty_project_name; - extern const optional nullopt_string; - extern const optional nullopt_path; - extern const optional nullopt_dir_path; + extern const optional nullopt_string; + extern const optional nullopt_path; + extern const optional nullopt_dir_path; + extern const optional nullopt_project_name; // Hash a path potentially without the specific directory prefix. // -- cgit v1.1