Skip to content

Commit

Permalink
Merge tag 'v9.1.0' into HEAD
Browse files Browse the repository at this point in the history
Release v9.1.0
  • Loading branch information
faxe1008 committed Apr 1, 2024
2 parents 2b498e6 + e1c0b21 commit a62c924
Show file tree
Hide file tree
Showing 2,540 changed files with 273,887 additions and 144,329 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 a62c924

Please sign in to comment.