quickstart docs for cmake

This commit is contained in:
Mischa Spiegelmock
2021-08-17 21:58:40 +03:00
parent b2f7c29f4c
commit 3cc69244cd

View File

@ -2,6 +2,24 @@
This file contains in-depth information for building with the CMake build system.
## Quickstart
Want to build it fast?
Required tools: `cmake`.
```shell
mkdir build
cd build
cmake ..
make -j8
```
Output binaries will be in `build/src/...`.
SDL2 binary can be found in `build/src/projectM-sdl/projectMSDL`.
## Selecting a specific project file generator
To specify a CMake generator, use the `-G` switch, followed by the generator name. Some newer generators take an