VSOptions.getVCBinDir

get Visual C bin folder

struct VSOptions
const
const(char)*
getVCBinDir
(
bool x64
,
out const(char)* addpath
)

Parameters

x64 bool

target architecture (x86 if false)

addpath const(char)*

out path that needs to be added to the PATH environment variable

Return Value

Type: const(char)*

folder containing the VC executables

Selects the binary path according to the host and target OS, but verifies that link.exe exists in that folder and falls back to 32-bit host/target if missing Note: differences for the linker binaries are small, they all allow cross compilation

Meta