From d897781ca87fb614502c2f6a23d4ad49bd5d7442 Mon Sep 17 00:00:00 2001 From: NaiJi Date: Fri, 4 Nov 2022 19:55:33 +0400 Subject: [PATCH] docs: Update README according to latest changes --- README.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3a1fa9a..e3f4a0a 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,18 @@ -# sfml-test +# cirno-puzzle Just playing around with [sfml](https://www.sfml-dev.org/), since I have nothing better to do anyway. -### How to run on Linux: ### -- Make sure you moved the `/src/font` folder to your build destination. -- Run `./sfml-test` command from your build destination. +### How to build and run on Linux: ### +- Make sure you have SFML, cmake and any compiler supporting C++17 installed +- Clone the project and go to the cloned folder: +``` +git clone https://dev.udongein.xyz/NaiJi/cirno-puzzle +cd cirno-puzzle/ +``` +- Now make it: +``` +cmake CMakeLists.txt -B ./build +cd ./build +make +``` -### How to build: ### -- Except any C++ compiler which supports C++17 and higher, you also need to have SFML installed and accessible. -- Build the project (my sources work with qmake) -- Move the `/src/font` folder into the folder of your build destination.