dmd.dinifile

Parses compiler settings from a .ini file.

Members

Functions

findConfFile
const(char)[] findConfFile(const(char)[] argv0, const(char)[] inifile)

Find the config file

parseConfFile
void parseConfFile(StringTable!(char*) environment, const(char)[] filename, const(char)[] path, const(ubyte)[] buffer, const(Strings)* sections)

Read and analyze .ini file. Write the entries into environment as well as any entries in one of the specified section(s).

readFromEnv
const(char)* readFromEnv(StringTable!(char*) environment, const(char)* name)

Read from environment, looking for cached value first.

updateRealEnvironment
void updateRealEnvironment(StringTable!(char*) environment)

Update real environment with our copy.

Meta