aboutsummaryrefslogtreecommitdiff
path: root/build/rule
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-24 06:09:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-24 06:09:23 +0200
commit5fc53bd74c7635a292cef041180da4cd32b7fb12 (patch)
tree917de261e05b203e5b152ec4f0232eb20a14a07a /build/rule
parentdea0d0913711f23fff3b902e3aa6006c6b54905a (diff)
Add fsdir{} for creating directories
Diffstat (limited to 'build/rule')
-rw-r--r--build/rule13
1 files changed, 13 insertions, 0 deletions
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