Add heap size limit

to solve #342

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com
This commit is contained in:
SaeHie Park
2015-07-11 22:46:13 +09:00
parent 0927888b44
commit bc0ca7be5d
3 changed files with 9 additions and 0 deletions
+1
View File
@@ -83,6 +83,7 @@ project (Jerry CXX C ASM)
set(EXTERNAL_LIBC_INTERFACE "UNDEFINED" CACHE STRING "Path to external libc include directory")
set(EXTERNAL_LIBS_INTERFACE "UNDEFINED" CACHE STRING "Path to external libraries' include directory")
set(EXTERNAL_MEM_HEAP_SIZE_KB "256" CACHE STRING "Size of memory heap, in kilobytes")
else()
message(FATAL_ERROR "Platform '${PLATFORM}' is not supported")
endif()