mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-11-25 02:13:51 +01:00
Added ability to generate JSON files. Fixed generating of 'header' files.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user