mirror of https://gitlab.com/basile.b/dexed.git
add support for gdmd as a compiler for CE projects
This commit is contained in:
parent
c5a51539c2
commit
687191c32e
|
@ -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;
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue