Skip to content
This repository has been archived by the owner on Jan 25, 2019. It is now read-only.

Commit

Permalink
Enables the "Run" button of IDE for FastCGI applications (please see …
Browse files Browse the repository at this point in the history
…issue 1).
  • Loading branch information
silvioprog committed Dec 28, 2012
1 parent e3f5567 commit a8e0cfc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ideintf/brookprojectintf.pas
Original file line number Diff line number Diff line change
Expand Up @@ -352,11 +352,15 @@ function TBrookProjectDescriptor.InitProject(
VProject.IsPartOfProject := True;
AProject.AddFile(VProject, False);
AProject.AddPackageDependency('BrookRT');
AProject.Flags := AProject.Flags - [pfMainUnitHasCreateFormStatements, pfRunnable];
case VDlg.rgAppType.ItemIndex of
0: AProject.LazCompilerOptions.TargetFileName := VDlg.edAppName.Text;
1: AProject.LazCompilerOptions.TargetFileName := VDlg.edAppName.Text + '.fcgi';
1:
begin
AProject.LazCompilerOptions.TargetFileName := VDlg.edAppName.Text + '.fcgi';
AProject.Flags := AProject.Flags + [pfRunnable];
end;
end;
AProject.Flags := AProject.Flags - [pfMainUnitHasCreateFormStatements, pfRunnable];
AProject.LazCompilerOptions.Win32GraphicApp := False;
AProject.LazCompilerOptions.TargetFilenameApplyConventions := False;
AProject.SessionStorage := pssInProjectInfo;
Expand Down

0 comments on commit a8e0cfc

Please sign in to comment.