add support for gdmd as a compiler for CE projects

This commit is contained in:
Basile Burg 2016-03-27 06:41:00 +02:00
parent c5a51539c2
commit 687191c32e
2 changed files with 1 additions and 9 deletions

View File

@ -378,7 +378,6 @@ type
TCEApplicationOptionsBase = class(TWritableLfmTextComponent)
private
fNoGdcWarn: boolean;
fFloatingWidgetOnTop: boolean;
fReloadLastDocuments: boolean;
fCovModUt: boolean;
@ -455,13 +454,6 @@ end;
procedure TCEApplicationOptionsBase.setNativeProjecCompiler(value: TCECompiler);
begin
if value = gdc then
begin
value := dmd;
if not fNoGdcWarn then
dlgOkInfo('Coedit native projects can not be compiled with GDC');
fNoGdcWarn := true;
end;
ce_nativeproject.setNativeProjectCompiler(value);
end;

View File

@ -1040,7 +1040,7 @@ procedure setNativeProjectCompiler(value: TCECompiler);
begin
case value of
dmd: NativeProjectCompilerFilename := exeFullName('dmd' + exeExt);
gdc: NativeProjectCompilerFilename := exeFullName('cegdcldc' + exeExt);
gdc: NativeProjectCompilerFilename := exeFullName('gdmd' + exeExt);
ldc: NativeProjectCompilerFilename := exeFullName('ldmd2' + exeExt);
end;
if (not NativeProjectCompilerFilename.fileExists)