mirror of
https://github.com/ProgramSnail/snake_2024.git
synced 2025-12-15 19:08:42 +00:00
initial template changes, xmake integration
This commit is contained in:
parent
a1430a42aa
commit
b4a4ffc08a
7 changed files with 27 additions and 17 deletions
14
README.md
14
README.md
|
|
@ -1,10 +1,10 @@
|
|||
# Game Template (Linux)
|
||||
# Game (Linux)
|
||||
|
||||
A simple framework for prototyping games. \
|
||||
The framework provides a video buffer and simple keyboard and mouse input.
|
||||
Game, based on https://github.com/imp5imp5/game_template_linux.
|
||||
|
||||
### Build
|
||||
``sudo apt install g++ cmake libx11-dev`` \
|
||||
``mkdir build && cd build`` \
|
||||
``cmake -DCMAKE_BUILD_TYPE=Release ..`` \
|
||||
``make``
|
||||
``sudo apt install g++ cmake libx11-dev xmake`` \
|
||||
``xmake``
|
||||
|
||||
### Run
|
||||
``xmake run``
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue