update readme install and build instructions
This commit is contained in:
parent
43d365eef4
commit
6b87b05634
24
README.md
24
README.md
|
@ -1,9 +1,27 @@
|
||||||
# Dependencies Installieren
|
# Dependencies Installieren
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get update
|
sudo apt update
|
||||||
sudo apt-get install libglfw3 libglfw3-dev
|
|
||||||
sudo apt-get install libglew-dev
|
# basic build tools such as gcc
|
||||||
|
sudo apt install build-essential
|
||||||
|
|
||||||
|
# meson and ninja for building
|
||||||
|
sudo apt install meson ninja-build
|
||||||
|
|
||||||
|
# glfw
|
||||||
|
sudo apt install libglfw3 libglfw3-dev
|
||||||
|
|
||||||
|
# glew
|
||||||
|
sudo apt install libglew-dev
|
||||||
|
```
|
||||||
|
|
||||||
|
# Building and running
|
||||||
|
|
||||||
|
```
|
||||||
|
meson setup build
|
||||||
|
meson compile -C build
|
||||||
|
./build/cg1
|
||||||
```
|
```
|
||||||
|
|
||||||
# WSL
|
# WSL
|
||||||
|
|
Loading…
Reference in New Issue