| Last change
 on this file was             186, checked in by chronos, 10 months ago | 
        
          | 
Merged revision(s) 180-185 from trunk:
 Added: Ruby target.
Added: Lua target.
Modified: Renamed Target directory to Targets.
Modified: Improved flatpak packaging files.
Fixed: Data directories detection on Linux.
Fixed: Copy examples in flatpak.
 | 
        
          | File size:
            853 bytes | 
      
      
| Line |  | 
|---|
| 1 | program LazFuck; | 
|---|
| 2 |  | 
|---|
| 3 | uses | 
|---|
| 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)} | 
|---|
| 17 | const | 
|---|
| 18 | HeapTraceLog = 'heaptrclog.trc'; | 
|---|
| 19 | {$ENDIF} | 
|---|
| 20 |  | 
|---|
| 21 |  | 
|---|
| 22 | begin | 
|---|
| 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; | 
|---|
| 34 | end. | 
|---|
| 35 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.