Update README.md

This commit is contained in:
Gabor Kiss-Vamosi 2024-05-08 00:22:04 +02:00 committed by GitHub
parent db6380fcf0
commit 54ddaa4a89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,6 +27,8 @@ sudo apt-get update && sudo apt-get install -y build-essential libsdl2-dev cmake
``` ```
## Usage ## Usage
### Visual Studio Code
1. Be sure you have installed [SDL and the build tools](#install-sdl-and-build-tools) 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` 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 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) ![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. 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 ## Optional library
There are also FreeType and FFmpeg support. You can install these according to the followings: There are also FreeType and FFmpeg support. You can install these according to the followings: