Skip to content

Commit

Permalink
sample gui update (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
xwang98 authored Apr 22, 2020
1 parent f72e848 commit eab5e40
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions wamr-sdk/build_sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,6 @@ fi

echo -e "\n\n"
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.
app_all_selected=`cat ${wamr_config_cmake_file} | grep WAMR_APP_BUILD_ALL`
Expand 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}"
fi
fi

cd ${wamr_root_dir}/core/app-framework/wgl/app
./prepare_headers.sh
fi

cd ${sdk_root}/app
rm -fr build && mkdir build
cd build

out=`grep WAMR_BUILD_LIBC_WASI ${wamr_config_cmake_file} |grep 1`
if [ -n "$out" ]; then
LIBC_SUPPORT="WASI"
Expand Down

0 comments on commit eab5e40

Please sign in to comment.