Merge pull request #4124 from swankjesse/WAMR_BUILD_GC_HEAP_SIZE_DEFAULT
Expose WAMR_BUILD_GC_HEAP_SIZE_DEFAULT as a CMake option
This commit is contained in:
@ -24,6 +24,10 @@ if (WAMR_BUILD_GC_CORRUPTION_CHECK EQUAL 0)
|
||||
add_definitions (-DBH_ENABLE_GC_CORRUPTION_CHECK=0)
|
||||
endif ()
|
||||
|
||||
if (DEFINED WAMR_BUILD_GC_HEAP_SIZE_DEFAULT)
|
||||
add_definitions ("-DGC_HEAP_SIZE_DEFAULT=${WAMR_BUILD_GC_HEAP_SIZE_DEFAULT}")
|
||||
endif ()
|
||||
|
||||
file (GLOB_RECURSE source_all
|
||||
${MEM_ALLOC_DIR}/ems/*.c
|
||||
${MEM_ALLOC_DIR}/tlsf/*.c
|
||||
|
||||
Reference in New Issue
Block a user