aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/common
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-19 15:35:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-19 15:35:06 +0200
commit4776ab7859e71bb6cec004a1aea05324ad33fd1d (patch)
tree33d37fd63f6d8d0d6a10f8373458da07fe438dc0 /build2/cc/common
parentd19ae162c2cf8059b3145ded8cfbce2ab01c8fc6 (diff)
Implement uninstall operation
Diffstat (limited to 'build2/cc/common')
-rw-r--r--build2/cc/common7
1 files changed, 6 insertions, 1 deletions
diff --git a/build2/cc/common b/build2/cc/common
index 95f205a..2be290a 100644
--- a/build2/cc/common
+++ b/build2/cc/common
@@ -84,6 +84,7 @@ namespace build2
const char* x_compile; // Rule names.
const char* x_link;
const char* x_install;
+ const char* x_uninstall;
// Cached values for some commonly-used variables.
//
@@ -122,6 +123,7 @@ namespace build2
const char* compile,
const char* link,
const char* install,
+ const char* uninstall,
const string& id,
const string& tg,
const string& sys,
@@ -130,7 +132,10 @@ namespace build2
const target_type* const* hdr,
const target_type* const* inc)
: config_data (cd),
- x_compile (compile), x_link (link), x_install (install),
+ x_compile (compile),
+ x_link (link),
+ x_install (install),
+ x_uninstall (uninstall),
cid (id), ctg (tg), tsys (sys), tclass (class_),
x_src (src), x_hdr (hdr), x_inc (inc) {}
};