doc: Added README and AGENTS files
This commit is contained in:
@@ -0,0 +1,36 @@
|
|||||||
|
# wlgol
|
||||||
|
|
||||||
|
Simple implementation of Conway's Game of Life for Wayland.
|
||||||
|
|
||||||
|
It directly uses C interfaces of Wayland.
|
||||||
|
|
||||||
|
Uses pure C language in C11 standard.
|
||||||
|
|
||||||
|
Draws directly into the buffer in a shared memory pool. Doesn't use interfaces like OpenGL, Vulkan etc.
|
||||||
|
|
||||||
|
Build definition is in `CMakeFiles.txt`.
|
||||||
|
|
||||||
|
Uses `cmake` an `ninja` to build the program.
|
||||||
|
|
||||||
|
## Useful commands:
|
||||||
|
|
||||||
|
Init build environment:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake -G Ninja ..
|
||||||
|
```
|
||||||
|
|
||||||
|
Build programs:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cmake --build ./build
|
||||||
|
```
|
||||||
|
|
||||||
|
Run program:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./build/wlgol
|
||||||
|
```
|
||||||
|
|
||||||
Reference in New Issue
Block a user