docs(examples) update to handle Emscripten port switching to CMake

This commit is contained in:
Themba Dube 2021-05-04 17:14:22 -04:00
parent c057060913
commit 5e25cec25d

View File

@ -10,6 +10,10 @@ cd lvgl
git checkout $CURRENT_REF
cd ..
git submodule update --init -- lv_drivers
make -j$(nproc) CHOSEN_DEMO=lv_example_noop || exit 1
cd ..
cp -a emscripten_builder/build docs/_static/built_lv_examples
mkdir cmbuild
cd cmbuild
emcmake cmake .. -DLVGL_CHOSEN_DEMO=lv_example_noop
make -j$(nproc)
rm -rf CMakeFiles
cd ../..
cp -a emscripten_builder/cmbuild docs/_static/built_lv_examples