buildTestExecutable
fn
string buildTestExecutable(string[] sourcePaths) @safeCompiles D source files to an executable for use in integration tests.
The compiler is selected from the DC environment variable, falling back to dmd when unset. The -g flag is included for source-level debugging.
Parameters
sourcePaths | Paths to .d files. |
Returns
Path to the produced executable.
Throws
Exception if compilation fails.fn
string buildTestExecutable(string sourcePath) @safeCompiles a single D source file to an executable for use in integration tests.
Parameters
sourcePath | Path to .d file. |
Returns
Path to the produced executable.