Update README.md
This commit is contained in:
parent
db6380fcf0
commit
54ddaa4a89
11
README.md
11
README.md
@ -27,6 +27,8 @@ sudo apt-get update && sudo apt-get install -y build-essential libsdl2-dev cmake
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
### Visual Studio Code
|
||||
1. Be sure you have installed [SDL and the build tools](#install-sdl-and-build-tools)
|
||||
1. Open the project by double clicking on `simulator.code-workspace` or opening it with `File/Open Workspace from File`
|
||||
2. Install the recommended plugins
|
||||
@ -34,6 +36,15 @@ sudo apt-get update && sudo apt-get install -y build-essential libsdl2-dev cmake
|
||||

|
||||
4. Click the Play button or hit F5 to start debugging.
|
||||
|
||||
### CMake
|
||||
This project uses CMake under the hood which can be used without Visula Studio Code too. Just type these in a Terminal when you are in the project's root folder:
|
||||
```bash
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make -j
|
||||
```
|
||||
|
||||
## Optional library
|
||||
|
||||
There are also FreeType and FFmpeg support. You can install these according to the followings:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user