fix(gh-codespace): add intellisense settings
This commit is contained in:
17
.devcontainer/__c_cpp_properties.json__
Normal file
17
.devcontainer/__c_cpp_properties.json__
Normal 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
|
||||||
|
}
|
||||||
5
.devcontainer/__settings.json__
Normal file
5
.devcontainer/__settings.json__
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"files.associations": {
|
||||||
|
"sdl.h": "c"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -5,11 +5,14 @@ echo ". /usr/local/emsdk/emsdk_env.sh" >> /home/codespace/.bashrc
|
|||||||
cd /workspace/lvgl_app
|
cd /workspace/lvgl_app
|
||||||
sudo chmod 777 .
|
sudo chmod 777 .
|
||||||
mkdir build
|
mkdir build
|
||||||
|
mkdir vscode
|
||||||
|
|
||||||
cd lvgl/.devcontainer
|
cd lvgl/.devcontainer
|
||||||
cp __CMakeLists.txt__ ../../CMakeLists.txt
|
cp __CMakeLists.txt__ ../../CMakeLists.txt
|
||||||
cp __lv_conf.h__ ../../lv_conf.h
|
cp __lv_conf.h__ ../../lv_conf.h
|
||||||
cp __main.c__ ../../main.c
|
cp __main.c__ ../../main.c
|
||||||
cp __build_all.sh__ ../../build_all.sh
|
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
|
chmod +x ../../build_all.sh
|
||||||
Reference in New Issue
Block a user