mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-05 09:31:03 +03:00
Add new cmdline option -mixin=<filename>
This commit is contained in:
parent
26c27c664d
commit
389977d084
5 changed files with 22 additions and 1 deletions
|
@ -220,6 +220,10 @@ cl::opt<bool>
|
|||
hdrKeepAllBodies("Hkeep-all-bodies", cl::ZeroOrMore,
|
||||
cl::desc("Keep all function bodies in .di files"));
|
||||
|
||||
cl::opt<std::string> mixinFile("mixin", cl::ZeroOrMore,
|
||||
cl::desc("Expand and save mixins to <filename>"),
|
||||
cl::value_desc("filename"));
|
||||
|
||||
static cl::opt<bool, true> unittest("unittest", cl::ZeroOrMore,
|
||||
cl::desc("Compile in unit tests"),
|
||||
cl::location(global.params.useUnitTests));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue