diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-19 16:10:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-19 16:10:03 +0200 |
commit | 8bd89cfca333e58f6990d7d168649dfc79878f31 (patch) | |
tree | 730bb9eec4fc5ddd086ed8465c4d7c0030db0d6b /build/target | |
parent | b0524a0b18eec9d5e5c3f6ce30b6cecdd02a6306 (diff) |
Add support for sourcing/including buildfiles, print, dir{} alias
Diffstat (limited to 'build/target')
-rw-r--r-- | build/target | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/build/target b/build/target index f57e8cc..b84931c 100644 --- a/build/target +++ b/build/target @@ -209,6 +209,20 @@ namespace build virtual const target_type& type () const {return static_type;} static const target_type static_type; }; + + // Directory alias/action target. Note that it is not mtime-based. + // Rather it is meant to represent a group of targets. For actual + // filesystem directory (creation), see fsdir. + // + class dir: public target + { + public: + using target::target; + + public: + virtual const target_type& type () const {return static_type;} + static const target_type static_type; + }; } #endif // BUILD_TARGET |