win_compat: Fix backend & file management
All checks were successful
Gol CI / build (push) Successful in 2m42s
All checks were successful
Gol CI / build (push) Successful in 2m42s
This ensure the project builds on windows
This commit is contained in:
17
README.md
17
README.md
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user