win_compat: Fix backend & file management
All checks were successful
Gol CI / build (push) Successful in 2m42s

This ensure the project builds on windows
This commit is contained in:
2026-04-21 13:21:46 +02:00
parent 0b70772009
commit 110ff7ed7e
5 changed files with 121 additions and 5 deletions

View File

@@ -10,6 +10,8 @@ This is a simple Game Of Life editor written in C++ with raylib & dearImGUI
## How to compile the project
### Linux
Ensure you have g++, cmake and the dependencies of raylib
```shell
@@ -19,4 +21,17 @@ cmake ..
make
```
> The windows version might exist one day
### Windows
If you're compiling for windows on linux, you can use mingw-w64
```shell
sudo apt install mingw-w64
mkdir build
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=../toolchain-ming-w64-x86_64.cmake
make
```
If you're compiling for windows on windows, use your usual cmake workflow