"compiler" setting from runnable options was not yet used.
This commit is contained in:
Basile Burg 2016-08-18 21:11:24 +02:00
parent 310c5a51af
commit 2e603f605c
1 changed files with 4 additions and 4 deletions

View File

@ -2570,10 +2570,10 @@ begin
dmdproc.OnReadData := @asyncprocOutput;
dmdproc.OnTerminate:= @asyncprocTerminate;
dmdproc.Options := [poUsePipes, poStderrToOutPut];
case fRunnableCompiler of
dmd: dmdProc.Executable:='dmd' + exeExt;
ldc: dmdProc.Executable:='ldmd2' + exeExt;
gdc: dmdProc.Executable:='gdmd' + exeExt;
case fRunnablesOptions.compiler of
dmd: dmdProc.Executable :='dmd' + exeExt;
ldc: dmdProc.Executable :='ldmd2' + exeExt;
gdc: dmdProc.Executable :='gdmd' + exeExt;
end;
dmdproc.Parameters.Add(fDoc.fileName);
if not asObj then