0
0
mirror of https://github.com/Nimac0/SDL_Minigame synced 2026-01-12 07:53:43 +00:00

Updated README.md
Some checks failed
/ deploy (push) Has been cancelled

This commit is contained in:
Nanogamer7 2024-06-25 15:23:21 +02:00 committed by GitHub
parent 92283e41ba
commit bfa5054755
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,10 +1,35 @@
##### Compiling: # VEGO-Engine
A **VE**ry **GO**od engine, to develop small, lightweight minigames without calling all those SDL functions yourself. This project orginates as a university project at UAS Technikum Wien.
## Getting started
### Compiling
To compile this projects the following prerequisites need to be met:
- A C++ compiler, for example GCC
- On Windows you can use GCC via [MinGW](https://www.mingw-w64.org/)
- CMake
The project can be cloned and compiled with the following commands:
```sh ```sh
git submodule update --init --recursive # only needed once git clone --recurse-submodules -j8 https://github.com/VEGO-Engine/Engine.git
cmake -S . -B build cmake -S . -B build
cmake --build build cmake --build build
``` ```
For Windows systems using MinGW the flag `-G "MinGW Makefiles"` has to be specified
The executable can be found as `build/SDL_Minigame` after building Depending on the system, you might need to specify which generator to use, for example on a Windows system using MinGW:
```sh
git clone --recurse-submodules -j8 https://github.com/VEGO-Engine/Engine.git
cmake -S . -B build -G "MinGW Makefiles"
cmake --build build
```
Compiling the whole project might take a while, but the Engine by itself will not build to an executable. To do that you can compile the [project template](https://github.com/VEGO-Engine/Project_Template). If the template compiles without any errors, you can use the project template to start working on your own game.
### Usage
As mentioned above, we provide a [project template](https://github.com/VEGO-Engine/Project_Template). To use the template, simply clone it and start working. You can change the name for your project freely, see the documentation on the template for further information. To push to your own remote, create a new repository on the platform of your choice, and edit origin in the local git repository.