IDE: disabled Win32GraphicApp option for console projects

git-svn-id: trunk@29033 -
This commit is contained in:
mattias 2011-01-15 13:00:30 +00:00
parent 5aabc7242b
commit 0714e1cb71

View File

@ -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;