aboutsummaryrefslogtreecommitdiff
path: root/build/cli/target
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-01 16:45:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-01 16:45:34 +0200
commite4c4fec8c9097722ee5ee94f2ce5ad0313ed8d7b (patch)
treee8de68957fc5cd00bb7b0b3199ca8a9abba4f678 /build/cli/target
parentf7e9830c0c413f05737002dcc8d06e73cb379980 (diff)
Clean up group state, mtime design
Diffstat (limited to 'build/cli/target')
-rw-r--r--build/cli/target7
1 files changed, 5 insertions, 2 deletions
diff --git a/build/cli/target b/build/cli/target
index e72d4e0..d733668 100644
--- a/build/cli/target
+++ b/build/cli/target
@@ -23,10 +23,10 @@ namespace build
static const target_type static_type;
};
- class cli_cxx: public target
+ class cli_cxx: public mtime_target
{
public:
- using target::target;
+ using mtime_target::mtime_target;
target* m[3] {nullptr, nullptr, nullptr};
@@ -41,6 +41,9 @@ namespace build
virtual group_view
group_members (action) const;
+ virtual timestamp
+ load_mtime () const;
+
public:
virtual const target_type& type () const {return static_type;}
static const target_type static_type;