diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-12-05 13:26:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-12-05 13:26:29 +0200 |
commit | 985e8f5f28da87be779b80942577f088321024af (patch) | |
tree | 811473dc2c89d755e46cfa28711c3ce8569a1556 /build/target | |
parent | 0ba8af59dbc3e7419a9ef24c6d4d466d6d64862c (diff) |
Add support for starting processes, getting file timestamps
g++-4.9 -std=c++11 -I.. -o bd bd.cxx process.cxx timestamp.cxx
Diffstat (limited to 'build/target')
-rw-r--r-- | build/target | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/build/target b/build/target index e6f05a5..4319ccb 100644 --- a/build/target +++ b/build/target @@ -2,9 +2,12 @@ // copyright : Copyright (c) 2014-2015 Code Synthesis Tools CC // license : MIT; see accompanying LICENSE file +#ifndef BUILD_TARGET +#define BUILD_TARGET + #include <string> #include <vector> -#include <functional> +#include <functional> // std::reference_wrapper namespace build { @@ -29,7 +32,7 @@ namespace build prerequisite (target& t) {prerequisites_.push_back (t);} public: - typedef bool (*rule_type) (target&, const targets&); + typedef bool (*rule_type) (target&); rule_type rule () const {return rule_;} @@ -67,3 +70,5 @@ namespace build using target::target; }; } + +#endif // BUILD_TARGET |