source: trunk/LazFuck.lpr

Last change on this file was 181, checked in by chronos, 11 months ago
  • Added: Lua target.
File size: 853 bytes
Line 
1program LazFuck;
2
3uses
4 {$IFDEF UNIX}//{$IFDEF UseCThreads}
5 cthreads, clocale,
6 //{$ENDIF}
7 {$ENDIF}
8 Interfaces, // this includes the LCL widgetset
9 Forms, Target, FormCPU, FormMain, FormOutput, FormInput, FormMemory,
10 FormMessages, FormSourceCode, FormTargetCode, FormConsole, Core, Common,
11 SysUtils, BFCodeTools, TargetRust, TargetRuby, TargetLua, FormHelp,
12 FormKeyShortcuts;
13
14{$R *.res}
15
16{$if declared(UseHeapTrace)}
17const
18 HeapTraceLog = 'heaptrclog.trc';
19{$ENDIF}
20
21
22begin
23 {$if declared(UseHeapTrace)}
24 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
25 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
26 {$ENDIF}
27
28 Application.Scaled:=True;
29 Application.Title:='LazFuck';
30 RequireDerivedFormResource := True;
31 Application.Initialize;
32 Application.CreateForm(TCore, Core.Core);
33 Application.Run;
34end.
35
Note: See TracBrowser for help on using the repository browser.