diff --git a/README.md b/README.md index b6a8ade..7346f7a 100644 --- a/README.md +++ b/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 ![image](https://github.com/lvgl/lv_port_pc_vscode/assets/7599318/f527b235-5718-4949-b5f0-bd807b3a64ba) 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: