From 8bd89cfca333e58f6990d7d168649dfc79878f31 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 19 Feb 2015 16:10:03 +0200 Subject: Add support for sourcing/including buildfiles, print, dir{} alias --- build/target | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'build/target') 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 -- cgit v1.1