ParseFlags

Parsed compiler flags.

Constructors

this
this(Include[] incls, string[] flags)
Undocumented in source.
this
this(Compiler compiler, Include[] incls, string[] flags)
Undocumented in source.
this
this(Compiler compiler, Include[] incls, SystemIncludePath[] sysincls, string[] flags)
Undocumented in source.

Alias This

completeFlags

Members

Functions

appendCflags
void appendCflags(string[] v)
Undocumented in source. Be warned that the author may not have intended to support it.
completeFlags
string[] completeFlags()

Easy to use method that has the complete flags ready to use with a GCC complient compiler.

forceSystemIncludes
auto forceSystemIncludes(bool v)

Set to true to use -I instead of -isystem for system includes.

hasSystemIncludes
bool hasSystemIncludes()
Undocumented in source. Be warned that the author may not have intended to support it.
prependCflags
void prependCflags(string[] v)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Include
struct Include

The includes used in the compile command

Variables

cflags
string[] cflags;

Specific flags for the file as parsed from the DB.

compiler
Compiler compiler;

Compiler used to compile the item.

includes
Include[] includes;

The includes used in the compile command.

systemIncludes
SystemIncludePath[] systemIncludes;

System include paths extracted from the compiler used for the file.

Meta