aboutsummaryrefslogtreecommitdiff
path: root/build2/install
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-12-13 14:20:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-12-13 14:22:07 +0200
commitf11d720f2fb62b46ad17d3aa3850140a4839f114 (patch)
tree7b077efc16b0362283e1857cf974090ee4ce8f26 /build2/install
parent08688bfc12a42a0399bcbdd6fe7d30d8f2486775 (diff)
Implement info meta operation
This meta operation can be used to print basic information (name, version, source/output roots, etc) for one or more projects.
Diffstat (limited to 'build2/install')
-rw-r--r--build2/install/init.cxx4
-rw-r--r--build2/install/operation.cxx4
-rw-r--r--build2/install/operation.hxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/build2/install/init.cxx b/build2/install/init.cxx
index b5fd007..3e4e1ff 100644
--- a/build2/install/init.cxx
+++ b/build2/install/init.cxx
@@ -142,8 +142,8 @@ namespace build2
// Register the install and uninstall operations.
//
- r.operations.insert (install_id, install);
- r.operations.insert (uninstall_id, uninstall);
+ r.operations.insert (install_id, op_install);
+ r.operations.insert (uninstall_id, op_uninstall);
}
static const path cmd ("install");
diff --git a/build2/install/operation.cxx b/build2/install/operation.cxx
index 5405c63..5279b3d 100644
--- a/build2/install/operation.cxx
+++ b/build2/install/operation.cxx
@@ -28,7 +28,7 @@ namespace build2
// those things get racy. Also, since all we do here is creating/removing
// files, there is not going to be much speedup from doing it in parallel.
- const operation_info install {
+ const operation_info op_install {
install_id,
"install",
"install",
@@ -50,7 +50,7 @@ namespace build2
// link.exe only creates a DLL's import library if there are any exported
// symbols).
//
- const operation_info uninstall {
+ const operation_info op_uninstall {
uninstall_id,
"uninstall",
"uninstall",
diff --git a/build2/install/operation.hxx b/build2/install/operation.hxx
index 1529621..0d96faf 100644
--- a/build2/install/operation.hxx
+++ b/build2/install/operation.hxx
@@ -14,8 +14,8 @@ namespace build2
{
namespace install
{
- extern const operation_info install;
- extern const operation_info uninstall;
+ extern const operation_info op_install;
+ extern const operation_info op_uninstall;
}
}