| 1 | program LazFuck;
|
|---|
| 2 |
|
|---|
| 3 | {$mode objfpc}{$H+}
|
|---|
| 4 |
|
|---|
| 5 | uses
|
|---|
| 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;
|
|---|
| 16 |
|
|---|
| 17 | {$R *.res}
|
|---|
| 18 |
|
|---|
| 19 | {$if declared(UseHeapTrace)}
|
|---|
| 20 | const
|
|---|
| 21 | HeapTraceLog = 'heaptrclog.trc';
|
|---|
| 22 | {$ENDIF}
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 | begin
|
|---|
| 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;
|
|---|
| 45 | end.
|
|---|
| 46 |
|
|---|