]> git.lizzy.rs Git - nothing.git/blob - README.md
Provide platforms via CLI
[nothing.git] / README.md
1 [![Build Status](https://travis-ci.org/tsoding/nothing.svg?branch=master)](https://travis-ci.org/tsoding/nothing)
2
3 # Nothing
4
5 ![](https://i.imgur.com/06VwEk3.gif)
6
7 ## Quick Start
8
9 ```console
10 $ nix-shell              # Only on NixOS
11 $ mkdir build
12 $ cd build/
13 $ cmake ..
14 $ make
15 $ ./nothing <level-file>
16 ```
17
18 ## Build on Windows
19
20 You need to install [conan][] and [Visual Studio 2017][visual-studio].
21
22 ### Dependencies
23
24 Current version of [SDL2/2.0.5@lasote/stable][conan-sdl2] in the conan-transit
25 repository is not compatible with the latest conan, so you'll need to install
26 it locally from the git repository:
27
28 ```console
29 $ git clone https://github.com/lasote/conan-sdl2.git # temporary, I hope hope hope
30 $ cd conan-sdl2
31 $ conan export SDL2/2.0.5@lasote/stable
32 ```
33
34 ### Building
35
36 Execute the following commands inside of the `nothing` directory:
37
38 ```console
39 $ conan install --build missing --install-folder build
40 $ cd build
41 $ cmake .. -G "Visual Studio 15 2017 Win64"
42 ```
43
44 After that, build the `build/nothing.sln` file with Visual Studio.
45
46 ## Support
47
48 You can support my work via
49
50 - Twitch channel: https://www.twitch.tv/subs/tsoding
51 - Patreon: https://www.patreon.com/tsoding
52
53 [conan]: https://www.conan.io/
54 [conan-sdl2]: https://bintray.com/conan/conan-transit/SDL2%3Alasote/2.0.5%3Astable
55 [visual-studio]: https://www.visualstudio.com/