Updated README.md compile steps
All checks were successful
Deploy / deploy (push) Successful in 10m31s

This commit is contained in:
Chewico 2025-07-02 22:18:08 +02:00
parent db48644676
commit c4d9dd300b

View File

@ -16,44 +16,57 @@ You can check out Premake at:
### Clone the repo
```console
git clone https://git.frostdeer.com/Chewico/DeerEngine.git
cd Deer
```bash
git clone --recursive https://git.frostdeer.com/Chewico/DeerEngine.git
cd DeerEngine
```
### Generating Project Files
As we mentioned we need to generate the make files with premake, to do this you can install the premake bin or compile it as we will mention
Install dependencies (if you haven't already):
```console
```bash
sudo apt-get update
sudo apt-get install uuid-dev make gcc
```
Build Premake from source:
```bash
cd vendor/premake-core
make -f Bootstrap.mak linux
cd ../..
```
```console
Generate Makefiles:
```bash
vendor/premake-core/bin/release/premake5 gmake
```
If you want to generate vscode workspace use
If you want to generate a VSCode workspace, run:
```console
./vendor/premake-core/bin/release/premake5 vscode
```bash
vendor/premake-core/bin/release/premake5 vscode
```
### Compile
Run
Before compiling, ensure you have the necessary dependencies installed:
```console
```bash
sudo apt update
sudo apt install clang libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libgtk-3-dev make gcc gdb
sudo make
sudo apt install clang libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libgtk-3-dev gdb
```
Then compile the project:
```bash
make
```
### Run
```console
```bash
./bin/linux-x86_64/Debug/DeerStudio/DeerStudio
```