source: tags/1.2.0/LazFuck.lpr

Last change on this file was 133, checked in by chronos, 3 years ago
  • Added: Compile multiple action for compilation of code with mutliple compilers at once.
File size: 1.4 KB
Line 
1program LazFuck;
2
3{$mode objfpc}{$H+}
4
5uses
6 {$IFDEF UNIX}//{$IFDEF UseCThreads}
7 cthreads, clocale,
8 //{$ENDIF}
9 {$ENDIF}
10 Interfaces, // this includes the LCL widgetset
11 Forms, UTarget, UTargetC, UTargetDelphi, UTargetInterpretter, UTargetPHP,
12 UTargetJava, UTargetFPC, UFormCPU, UFormMain, UFormOptions, UFormTargets,
13 UFormOutput, UFormInput, UFormMemory, UFormMessages, UFormSourceCode,
14 UFormTargetCode, UFormTargetOptions, UCore, Common,
15 UFormLog, UProject, UBFTarget, SysUtils, UFormCompileMultiple;
16
17{$R *.res}
18
19{$if declared(UseHeapTrace)}
20const
21 HeapTraceLog = 'heaptrclog.trc';
22{$ENDIF}
23
24
25begin
26 {$if declared(UseHeapTrace)}
27 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
28 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
29 {$ENDIF}
30
31 Application.Scaled := True;
32 Application.Title := 'LazFuck IDE';
33 RequireDerivedFormResource := True;
34 Application.Initialize;
35 Application.CreateForm(TCore, Core);
36 Application.CreateForm(TFormMain, FormMain);
37 Application.CreateForm(TFormCPU, FormCPU);
38 Application.CreateForm(TFormOutput, FormOutput);
39 Application.CreateForm(TFormInput, FormInput);
40 Application.CreateForm(TFormMemory, FormMemory);
41 Application.CreateForm(TFormMessages, FormMessages);
42 Application.CreateForm(TFormSourceCode, FormSourceCode);
43 Application.CreateForm(TFormTargetCode, FormTargetCode);
44 Application.Run;
45end.
46
Note: See TracBrowser for help on using the repository browser.