docs(examples) update to handle Emscripten port switching to CMake
This commit is contained in:
@@ -10,6 +10,10 @@ cd lvgl
|
|||||||
git checkout $CURRENT_REF
|
git checkout $CURRENT_REF
|
||||||
cd ..
|
cd ..
|
||||||
git submodule update --init -- lv_drivers
|
git submodule update --init -- lv_drivers
|
||||||
make -j$(nproc) CHOSEN_DEMO=lv_example_noop || exit 1
|
mkdir cmbuild
|
||||||
cd ..
|
cd cmbuild
|
||||||
cp -a emscripten_builder/build docs/_static/built_lv_examples
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user