Add cmake variable to set the max app thread stack size (#346)

This commit is contained in:
Wenyong Huang
2020-08-11 14:47:24 +08:00
committed by GitHub
parent 8ad9c1775f
commit 8c820730ba
4 changed files with 21 additions and 3 deletions

View File

@ -162,4 +162,7 @@ if (WAMR_DISABLE_HW_BOUND_CHECK EQUAL 1)
add_definitions (-DWASM_DISABLE_HW_BOUND_CHECK=1)
message (" Hardware boundary check disabled")
endif ()
if (DEFINED WAMR_APP_THREAD_STACK_SIZE_MAX)
add_definitions (-DAPP_THREAD_STACK_SIZE_MAX=${WAMR_APP_THREAD_STACK_SIZE_MAX})
endif ()