From 5fc53bd74c7635a292cef041180da4cd32b7fb12 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 24 Feb 2015 06:09:23 +0200 Subject: Add fsdir{} for creating directories --- build/rule | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'build/rule') diff --git a/build/rule b/build/rule index cbaac04..4336c8f 100644 --- a/build/rule +++ b/build/rule @@ -58,6 +58,19 @@ namespace build static target_state update (target&); }; + + class fsdir_rule: public rule + { + public: + virtual void* + match (target&, const std::string& hint) const; + + virtual recipe + apply (target&, void*) const; + + static target_state + update (target&); + }; } #endif // BUILD_RULE -- cgit v1.1