From 54ddaa4a892160c4d8f2aec8590da29f3f9e28f6 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Wed, 8 May 2024 00:22:04 +0200 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) 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: