flags - premake/premake-dlang GitHub Wiki
Additional build flags available to D language projects.
See premake flags for usage.
Parameters
Flag (D) | Description |
---|---|
CodeCoverage | Generate code to perform code coverage analysis. doc |
Deprecated | Allow deprecated features. doc |
Documentation | Generate documentation from source. doc |
GenerateHeader | Generate D interface (.di) file. doc |
GenerateJSON | Generate JSON file. doc |
GenerateMap | Generate a .map file doc |
NoBoundsCheck | Disable array bounds checking. doc |
Profile | Generate code to profile runtime performance. doc |
Quiet | Suppress non-essential compiler messages. doc |
RetainPaths | Retain paths in debug information. doc |
SeparateCompilation | Compile modules individually into separate object files. |
SymbolsLikeC | Debug info should pretend to be C. doc |
UnitTest | Generate code to run unit tests. doc |
Verbose | Verbose compiler output. doc |
Flag (C/C++) | Description |
---|---|
CodeCoverage | Generate code to perform code coverage analysis. |
UnitTest | Generate code to run unit tests. |
Verbose | Verbose compiler output. |
ProfileGC | Enable profiling runtime allocations |
StackFrame | Always emit stack frames |
StackStomp | Add stack stomp code |
AllTemplateInst | Generate code for all Template instantiations |
BetterC | Omit generating some runtime information and helper functions |
Main | Add default main() (e.g. for unit testing) |
PerformSyntaxCheckOnly | Only perform syntax checks |
ShowCommandLine | Show compiler command line |
ShowTLS | List all variables going into thread local storage |
ShowGC | List all gc allocations including hidden ones |
IgnorePragma | Ignore unsupported pragmas |
ShowDependencies | Print module dependencies |
Applies To
Project and file configurations.