X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=README.md;h=af9b46e1791d8c4981bc5e05fe7e6683c02ea972;hb=0bbefa2e98126636b98a0efccf43faf9f4ec2850;hp=d4b9649bbcc96fa463d9bbec08b7b9faf9135ebb;hpb=ca98f573aec3bfb06dec7bb8dc8121154f103275;p=nothing.git diff --git a/README.md b/README.md index d4b9649b..af9b46e1 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ # Nothing -![](https://i.imgur.com/7J2wLFZ.png) +![](https://i.imgur.com/7mECYKU.gif) +![](https://i.imgur.com/ABcJqB5.gif) ## Quick Start @@ -12,13 +13,45 @@ $ mkdir build $ cd build/ $ cmake .. $ make -$ cd .. -$ ./nothing +$ ./nothing +$ ./nothing_test ``` +## Build on Windows + +You need to install [conan][] and [Visual Studio 2017][visual-studio]. + +### Dependencies + +Current version of [SDL2/2.0.5@lasote/stable][conan-sdl2] in the conan-transit +repository is not compatible with the latest conan, so you'll need to install +it locally from the git repository: + +```console +$ git clone https://github.com/lasote/conan-sdl2.git # temporary, I hope hope hope +$ cd conan-sdl2 +$ conan export SDL2/2.0.5@lasote/stable +``` + +### Building + +Execute the following commands inside of the `nothing` directory: + +```console +$ conan install --build missing --install-folder build +$ cd build +$ cmake .. -G "Visual Studio 15 2017 Win64" +``` + +After that, build the `build/nothing.sln` file with Visual Studio. + ## Support You can support my work via - Twitch channel: https://www.twitch.tv/subs/tsoding - Patreon: https://www.patreon.com/tsoding + +[conan]: https://www.conan.io/ +[conan-sdl2]: https://bintray.com/conan/conan-transit/SDL2%3Alasote/2.0.5%3Astable +[visual-studio]: https://www.visualstudio.com/