| 1 | # Simplest Manifest Test |
| 2 | |
| 3 | This demo shows that `CastleEngineManifest.xml` file can be very very simple, |
| 4 | you only really need to specify `game_units` to have something working on all platforms. |
| 5 | |
| 6 | You *do not need* to specify `standalone_source`, and you *do not need* to keep files generated |
| 7 | by `castle-engine generate-program` in the version control: |
| 8 | |
| 9 | - `castleautogenerated.pas` |
| 10 | - `xxx_standalone.dproj` |
| 11 | - `xxx_standalone.lpi` |
| 12 | - `xxx_standalone.dpr` |
| 13 | |
| 14 | The build tool will automatically create and use a temporary (in `castle-engine-output/`) |
| 15 | source code for the program/library and `castleautogenerated.pas` unit if they are missing. |
| 16 | |
| 17 | The advantage: your directory is cleaner, no need to see/commit auto-generated stuff. |
| 18 | |
| 19 | The disadvantage: your project can be build only by CGE editor or CGE build tool |
| 20 | (`castle-engine compile`) out-of-the-box. |
| 21 | You cannot open project with Lazarus or Delphi IDEs out-of-the-box. |
| 22 | |
| 23 | Using [Castle Game Engine](https://castle-engine.io/). |
| 24 | |
| 25 | ## Building |
| 26 | |
| 27 | Compile by: |
| 28 | |
| 29 | - [CGE editor](https://castle-engine.io/editor). Just use menu items _"Compile"_ or _"Compile And Run"_. |
| 30 | |
| 31 | - Or use [CGE command-line build tool](https://castle-engine.io/build_tool). Run `castle-engine compile` in this directory. |