diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-24 06:09:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-24 06:09:23 +0200 |
commit | 5fc53bd74c7635a292cef041180da4cd32b7fb12 (patch) | |
tree | 917de261e05b203e5b152ec4f0232eb20a14a07a /build/rule | |
parent | dea0d0913711f23fff3b902e3aa6006c6b54905a (diff) |
Add fsdir{} for creating directories
Diffstat (limited to 'build/rule')
-rw-r--r-- | build/rule | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 |