Skip to content

Commit ed3d02e

Browse files
committed
sample gui update
1 parent 8228a15 commit ed3d02e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

wamr-sdk/build_sdk.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,6 @@ fi
159159

160160
echo -e "\n\n"
161161
echo "############## Start to build wasm app sdk ###############"
162-
cd ${sdk_root}/app
163-
rm -fr build && mkdir build
164-
cd build
165162

166163
# If wgl module is selected, check if the extra SDK include dir is passed by the args, prompt user to input if not.
167164
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
178175
CM_DEXTRA_SDK_INCLUDE_PATH="-DEXTRA_SDK_INCLUDE_PATH=${extra_file_path}"
179176
fi
180177
fi
178+
179+
cd ${wamr_root_dir}/core/app-framework/wgl/app
180+
./prepare_headers.sh
181181
fi
182182

183+
cd ${sdk_root}/app
184+
rm -fr build && mkdir build
185+
cd build
186+
183187
out=`grep WAMR_BUILD_LIBC_WASI ${wamr_config_cmake_file} |grep 1`
184188
if [ -n "$out" ]; then
185189
LIBC_SUPPORT="WASI"

0 commit comments

Comments
 (0)