diff options
author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-07-06 18:55:47 +0900 |
---|---|---|
committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-07-06 19:43:40 +0900 |
commit | 8bddb46a8275ed3c4737c0d8020372ad17946ae1 (patch) | |
tree | a5328260b1c9b28036459c856f3c4cf6035129ed /ninja.h | |
parent | 3f2cf1e8f56af97459fbca9074feca4509f8a0bf (diff) | |
download | kati-8bddb46a8275ed3c4737c0d8020372ad17946ae1.tar.gz |
Make it possible to generate ninja for specific target
Diffstat (limited to 'ninja.h')
-rw-r--r-- | ninja.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |