1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

fix(gh-codespace): add intellisense settings

This commit is contained in:
Gabor Kiss-Vamosi 2023-03-28 15:30:33 +00:00
parent e5279bdbec
commit 639e6b7b42
3 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,17 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"/usr/local/emsdk/upstream/emscripten/cache/sysroot/include/"
],
"defines": [],
"compilerPath": "/usr/bin/clang",
"cStandard": "c17",
"cppStandard": "c++14",
"intelliSenseMode": "linux-clang-x64"
}
],
"version": 4
}

View File

@ -0,0 +1,5 @@
{
"files.associations": {
"sdl.h": "c"
}
}

View File

@ -5,11 +5,14 @@ echo ". /usr/local/emsdk/emsdk_env.sh" >> /home/codespace/.bashrc
cd /workspace/lvgl_app
sudo chmod 777 .
mkdir build
mkdir vscode
cd lvgl/.devcontainer
cp __CMakeLists.txt__ ../../CMakeLists.txt
cp __lv_conf.h__ ../../lv_conf.h
cp __main.c__ ../../main.c
cp __build_all.sh__ ../../build_all.sh
cp __c_cpp_properties.json__ ../../.vscode/c_cpp_properties.json
cp __settings.json__ ../../.vscode/settings.json
chmod +x ../../build_all.sh