README.md change

This commit is contained in:
edwin 2025-02-22 12:16:21 +01:00
parent 46bfa88079
commit c9d1395951

View File

@ -1,29 +1,28 @@
# CMake C Test Project # LVGL op Linux met VSCode
This project is designed to learn how to structure a C project with CMake and includes a simple library (`testlib`) that implements basic functions. Welkom bij het LVGL op Linux-project! Dit project stelt u in staat om de LittlevGL (LVGL) grafische bibliotheek te ontwikkelen en te simuleren op een Linux-systeem met behulp van Visual Studio Code (VSCode). LVGL is een open-source grafische bibliotheek voor embedded systemen, ideaal voor het ontwikkelen van grafische gebruikersinterfaces (GUI's) op microcontrollers en andere embedded platforms.
## Vereisten
Zorg ervoor dat uw systeem voldoet aan de volgende vereisten:
- **Besturingssysteem**: Linux (bijvoorbeeld Ubuntu)
- **Visual Studio Code**: Download en installeer de nieuwste versie van [VSCode](https://code.visualstudio.com/).
- **Benodigde pakketten**: Installeer de volgende pakketten via uw pakketbeheerder:
- `git`
- `libsdl2-dev`
- `build-essential`
- `cmake`
Op een Ubuntu-achtig systeem kunt u deze pakketten installeren met het volgende commando:
## Build Instructions
1. Make the project
```bash ```bash
mkdir -p build sudo apt install git libsdl2-dev build-essential cmake
cmake .. --fresh
2. Run the project ## To build
```bash ```bash
mkdir build
cd build
cmake ..
make make
./(the binary name)
## Method two
1. Run the script install
```bash
./install.sh | ./build/(the binary name)
## To clean the project
1. Run thee script clean
```bash
./clean.sh
- TODO https://gitlab.com/aminosbh/sdl2-cmake-modules