Added ability to generate JSON files. Fixed generating of 'header' files.

This commit is contained in:
Alexey Prokhin
2011-01-04 13:48:08 +03:00
parent b52cedf6d2
commit 7911589964
4 changed files with 28 additions and 2 deletions
+9
View File
@@ -116,6 +116,15 @@ cl::opt<std::string> ddocFile("Df",
cl::value_desc("filename"),
cl::Prefix);
// Json options
static cl::opt<bool, true> doJson("X",
cl::desc("generate JSON file"),
cl::location(global.params.doXGeneration));
cl::opt<std::string> jsonFile("Xf",
cl::desc("write JSON file to <filename>"),
cl::value_desc("filename"),
cl::Prefix);
// Header generation options
#ifdef _DH