Code Map
module volta.settings;
//! Holds a set of compiler settings.
class Settings
{
public:
//! The -w argument.
warningsEnabled: bool;
//! The -S argument.
noBackend: bool;
//! The -c argument
noLink: bool;
//! The --emit-llvm argument.
emitLLVM: bool;
//! The --no-catch argument.
noCatch: bool;
//! The --no-stdlib argument.
noStdLib: bool;
//! The -E argument.
removeConditionalsOnly: bool;
//! The --simple-trace argument.
simpleTrace: bool;
//! The --internal-diff argument.
internalDiff: bool;
//! The --internal-dbg argument.
internalDebug: bool;
//! The --missing argument;
missingDeps: bool;
platform: Platform;
arch: Arch;
cRuntime: CRuntime;
//! Compiler identifier string.
identStr: string;
//! How where we launched.
execCmd: string;
//! Set on create.
execDir: string;
//! Derived from platform.
platformStr: string;
//! Derived from arch.
archStr: string;
//! The --cc argument.
cc: string;
//! Arguments to cc, the --Xcc argument(s).
xcc: string[];
//! The --ld argument.
ld: string;
//! The --Xld argument(s).
xld: string[];
//! The --link argument.
link: string;
//! The --Xlink argument(s).
xlink: string[];
//! The --clang argument.
clang: string;
//! The --Xclang argument(s).
xclang: string[];
//! The --llvm-ar argument.
llvmAr: string;
//! The --Xllvm-ar argument(s).
xllvmAr: string[];
//! The --linker argument
linker: string;
//! Arguments to the linker, the -Xlinker argument(s).
xlinker: string[];
depFile: string;
outputFile: string;
//! The --import-as-src command.
importAsSrc: string[];
//! The -I arguments.
includePaths: string[];
//! The -src-I arguments.
srcIncludePaths: string[];
//! The -L arguments.
libraryPaths: string[];
//! The -l arguments.
libraryFiles: string[];
//! The -F arguments.
frameworkPaths: string[];
//! The --framework arguments.
frameworkNames: string[];
//! The -J arguments.
stringImportPaths: string[];
//! The -jo argument.
jsonOutput: string;
//! The --perf-output argument.
perfOutput: string;
public:
this(cmd: string, execDir: string) { }
fn processConfigs() { }
fn setStrs() { }
fn replaceMacros() { }
fn replaceEscapes(file: string) string { }
fn setDefault() { }
}
Holds a set of compiler settings.
Things like import paths, and so on.
The -w argument.
The -S argument.
The -c argument
The --emit-llvm argument.
The --no-catch argument.
The --no-stdlib argument.
The -E argument.
The --simple-trace argument.
The --internal-diff argument.
The --internal-dbg argument.
The --missing argument;
Compiler identifier string.
How where we launched.
Set on create.
Derived from platform.
Derived from arch.
The --cc argument.
Arguments to cc, the --Xcc argument(s).
The --ld argument.
The --Xld argument(s).
The --link argument.
The --Xlink argument(s).
The --clang argument.
The --Xclang argument(s).
The --llvm-ar argument.
The --Xllvm-ar argument(s).
The --linker argument
Arguments to the linker, the -Xlinker argument(s).
The --import-as-src command.
The -I arguments.
The -src-I arguments.
The -L arguments.
The -l arguments.
The -F arguments.
The --framework arguments.
The -J arguments.
The -jo argument.
The --perf-output argument.