mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 15:05:19 +00:00
sample gui update (#237)
This commit is contained in:
parent
f72e848114
commit
eab5e40853
|
@ -159,9 +159,6 @@ fi
|
||||||
|
|
||||||
echo -e "\n\n"
|
echo -e "\n\n"
|
||||||
echo "############## Start to build wasm app sdk ###############"
|
echo "############## Start to build wasm app sdk ###############"
|
||||||
cd ${sdk_root}/app
|
|
||||||
rm -fr build && mkdir build
|
|
||||||
cd build
|
|
||||||
|
|
||||||
# If wgl module is selected, check if the extra SDK include dir is passed by the args, prompt user to input if not.
|
# If wgl module is selected, check if the extra SDK include dir is passed by the args, prompt user to input if not.
|
||||||
app_all_selected=`cat ${wamr_config_cmake_file} | grep WAMR_APP_BUILD_ALL`
|
app_all_selected=`cat ${wamr_config_cmake_file} | grep WAMR_APP_BUILD_ALL`
|
||||||
|
@ -178,8 +175,15 @@ if [[ -n "${app_wgl_selected}" ]] || [[ -n "${app_all_selected}" ]]; then
|
||||||
CM_DEXTRA_SDK_INCLUDE_PATH="-DEXTRA_SDK_INCLUDE_PATH=${extra_file_path}"
|
CM_DEXTRA_SDK_INCLUDE_PATH="-DEXTRA_SDK_INCLUDE_PATH=${extra_file_path}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cd ${wamr_root_dir}/core/app-framework/wgl/app
|
||||||
|
./prepare_headers.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cd ${sdk_root}/app
|
||||||
|
rm -fr build && mkdir build
|
||||||
|
cd build
|
||||||
|
|
||||||
out=`grep WAMR_BUILD_LIBC_WASI ${wamr_config_cmake_file} |grep 1`
|
out=`grep WAMR_BUILD_LIBC_WASI ${wamr_config_cmake_file} |grep 1`
|
||||||
if [ -n "$out" ]; then
|
if [ -n "$out" ]; then
|
||||||
LIBC_SUPPORT="WASI"
|
LIBC_SUPPORT="WASI"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user