aboutsummaryrefslogtreecommitdiff
path: root/ninja.h
diff options
context:
space:
mode:
authorShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-07-06 18:55:47 +0900
committerShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-07-06 19:43:40 +0900
commit8bddb46a8275ed3c4737c0d8020372ad17946ae1 (patch)
treea5328260b1c9b28036459c856f3c4cf6035129ed /ninja.h
parent3f2cf1e8f56af97459fbca9074feca4509f8a0bf (diff)
downloadkati-8bddb46a8275ed3c4737c0d8020372ad17946ae1.tar.gz
Make it possible to generate ninja for specific target
Diffstat (limited to 'ninja.h')
-rw-r--r--ninja.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ninja.h b/ninja.h
index e53e309..b976284 100644
--- a/ninja.h
+++ b/ninja.h
@@ -25,7 +25,8 @@ using namespace std;
class DepNode;
class Evaluator;
-void GenerateNinja(const vector<DepNode*>& nodes, Evaluator* ev);
+void GenerateNinja(const char* ninja_suffix,
+ const vector<DepNode*>& nodes, Evaluator* ev);
// Exposed only for test.
bool GetDepfileFromCommand(StringPiece cmd, string* out);