acid-drop- Hacking the planet from a LilyGo T-Deck using custom firmware |
git clone git://git.acid.vegas/acid-drop.git |
Log | Files | Refs | Archive | README | LICENSE |
build_html_examples.sh (686B)
1 #!/bin/bash 2 set -e 3 export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" 4 CURRENT_REF="$(git rev-parse HEAD)" 5 rm -rf emscripten_builder 6 git clone https://github.com/lvgl/lv_sim_emscripten.git emscripten_builder 7 scripts/genexamplelist.sh > emscripten_builder/examplelist.c 8 cd emscripten_builder 9 git submodule update --init -- lvgl 10 cd lvgl 11 git checkout $CURRENT_REF 12 cd .. 13 git submodule update --init -- lv_drivers 14 mkdir cmbuild 15 cd cmbuild 16 emcmake cmake .. -DLVGL_CHOSEN_DEMO=lv_example_noop -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache 17 emmake make -j$(nproc) 18 rm -rf CMakeFiles 19 cd ../.. 20 cp -a emscripten_builder/cmbuild docs/_static/built_lv_examples