| 1 |
{ Auto-generated unit with information about the project. |
| 2 |
The information set here reflects the CastleEngineManifest.xml properties. |
| 3 |
|
| 4 |
You should not modify this file manually. |
| 5 |
Regenerate it using CGE editor "Code -> Regenerate Project" menu item |
| 6 |
(or command-line: "castle-engine generate-program"). |
| 7 |
|
| 8 |
Note: This file has UTF-8 BOM, which makes sure that string literals |
| 9 |
are interpreted as UTF-8. This is important, as CGE build tool will |
| 10 |
place here caption encoded in UTF-8. |
| 11 |
Without the BOM, right now both FPC and Delphi |
| 12 |
would interpret the file as having ANSI encoding on Windows (see |
| 13 |
https://blogs.embarcadero.com/the-delphi-compiler-and-utf-8-encoded-source-code-files-with-no-bom/ , |
| 14 |
https://wiki.freepascal.org/FPC_Unicode_support#Source_file_codepage ) } |
| 15 |
unit CastleAutoGenerated; |
| 16 |
|
| 17 |
interface |
| 18 |
|
| 19 |
implementation |
| 20 |
|
| 21 |
uses CastleApplicationProperties, CastleWindow, CastleLog; |
| 22 |
|
| 23 |
initialization |
| 24 |
ApplicationProperties.ApplicationName := 'castle-tester'; |
| 25 |
ApplicationProperties.Caption := 'Castle Tester'; |
| 26 |
ApplicationProperties.Version := '0.1'; |
| 27 |
|
| 28 |
if not IsLibrary then |
| 29 |
Application.ParseStandardParameters; |
| 30 |
|
| 31 |
{ Start logging. |
| 32 |
|
| 33 |
Should be done after setting ApplicationProperties.ApplicationName/Version, |
| 34 |
since they are recorded in the first automatic log messages. |
| 35 |
|
| 36 |
Should be done after basic command-line parameters are parsed |
| 37 |
for standalone programs (when "not IsLibrary"). |
| 38 |
This allows to handle --version and --help command-line parameters |
| 39 |
without any extra output on Unix, and to set --log-file . } |
| 40 |
InitializeLog; |
| 41 |
end. |