From 968d8a7acd6c23078a3ea6936c03be0b45523227 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 7 Feb 2018 15:48:50 +0200 Subject: Add support for update-for-{test,install} operation aliases --- build2/operation.cxx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'build2/operation.cxx') diff --git a/build2/operation.cxx b/build2/operation.cxx index a43e20a..f262321 100644 --- a/build2/operation.cxx +++ b/build2/operation.cxx @@ -522,6 +522,7 @@ namespace build2 // const operation_info op_default { default_id, + 0, "", "", "", @@ -533,8 +534,14 @@ namespace build2 nullptr }; - const operation_info op_update { +#ifndef _MSC_VER + constexpr +#else + const +#endif + operation_info op_update { update_id, + 0, "update", "update", "updating", @@ -548,6 +555,7 @@ namespace build2 const operation_info op_clean { clean_id, + 0, "clean", "clean", "cleaning", -- cgit v1.1