From 0714e1cb71a648d670a29f0278151d1c664ad592 Mon Sep 17 00:00:00 2001 From: mattias Date: Sat, 15 Jan 2011 13:00:30 +0000 Subject: [PATCH] IDE: disabled Win32GraphicApp option for console projects git-svn-id: trunk@29033 - --- ide/projectdefs.pas | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ide/projectdefs.pas b/ide/projectdefs.pas index 8192cc0674..db4d094c55 100644 --- a/ide/projectdefs.pas +++ b/ide/projectdefs.pas @@ -1429,6 +1429,7 @@ begin +'end.'+le +le; AProject.MainFile.SetSourceText(NewSource); + AProject.LazCompilerOptions.Win32GraphicApp:=false; end; end; @@ -1500,6 +1501,7 @@ begin AProject.LazCompilerOptions.UnitOutputDirectory:='lib'+PathDelim+'$(TargetCPU)-$(TargetOS)'; AProject.LazCompilerOptions.TargetFilename:='project1'; + AProject.LazCompilerOptions.Win32GraphicApp:=false; end; function TProjectLibraryDescriptor.CreateStartFiles(AProject: TLazProject @@ -1564,6 +1566,7 @@ begin AProject.LazCompilerOptions.UnitOutputDirectory:='lib'+PathDelim+'$(TargetCPU)-$(TargetOS)'; AProject.LazCompilerOptions.TargetFilename:='project1'; + AProject.LazCompilerOptions.Win32GraphicApp:=false; // create program source NewSource:=TStringList.Create;