Skip to content

Commit

Permalink
Merge tag 'v9.0.0' into lvgl_9_0
Browse files Browse the repository at this point in the history
Release v9.0.0
  • Loading branch information
blafab-hg committed Jan 25, 2024
2 parents 2b76c64 + 09cb87c commit c05c935
Show file tree
Hide file tree
Showing 2,424 changed files with 264,227 additions and 140,936 deletions.
25 changes: 25 additions & 0 deletions .devcontainer/__CMakeLists.txt__
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
cmake_minimum_required(VERSION 3.12)
project (lv_emscripten)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -s USE_SDL=2")

include_directories(${PROJECT_SOURCE_DIR})

add_subdirectory(lvgl)
file(GLOB MY_SOURCES "./*.c")
set(SOURCES ${MY_SOURCES})

add_executable(index ${SOURCES} ${INCLUDES})

if(NOT LVGL_CHOSEN_DEMO)
set(LVGL_CHOSEN_DEMO lv_demo_widgets)
endif()
set_source_files_properties(main.c PROPERTIES COMPILE_FLAGS -DCHOSEN_DEMO=${LVGL_CHOSEN_DEMO})

set(CMAKE_EXECUTABLE_SUFFIX ".html")
target_link_libraries(index
lvgl
lvgl_examples
lvgl_demos
)
set_target_properties(index PROPERTIES LINK_FLAGS "--shell-file ${PROJECT_SOURCE_DIR}/lvgl/.devcontainer/lvgl_shell.html -s SINGLE_FILE=1")
4 changes: 4 additions & 0 deletions .devcontainer/__build_all.sh__
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cd build
emcmake cmake ..
emmake make -j$(nproc)
code index.html
17 changes: 17 additions & 0 deletions .devcontainer/__c_cpp_properties.json__
Original file line number Diff line number Diff line change
@@ -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
}
Loading

0 comments on commit c05c935

Please sign in to comment.