@@ -29,9 +29,10 @@ ExternalProject_Add(hostjerry
2929 -DJERRY_CMDLINE=OFF
3030 -DJERRY_CMDLINE_SNAPSHOT=ON
3131 -DJERRY_EXT=ON
32- -DFEATURE_LOGGING=ON
33- -DFEATURE_SNAPSHOT_SAVE=${ENABLE_SNAPSHOT}
34- -DFEATURE_PROFILE=${FEATURE_PROFILE}
32+ -DJERRY_LOGGING=ON
33+ -DJERRY_ERROR_MESSAGES=ON
34+ -DJERRY_SNAPSHOT_SAVE=${ENABLE_SNAPSHOT}
35+ -DJERRY_PROFILE=${FEATURE_PROFILE}
3536 ${EXTRA_JERRY_CMAKE_PARAMS}
3637
3738 # The snapshot tool does not require the system allocator
@@ -43,7 +44,7 @@ ExternalProject_Add(hostjerry
4344 # should not be used as it returns 64bit pointers which
4445 # can not be represented correctly in the JerryScript engine
4546 # currently.
46- -DFEATURE_SYSTEM_ALLOCATOR =OFF
47+ -DJERRY_SYSTEM_ALLOCATOR =OFF
4748)
4849set (JERRY_HOST_SNAPSHOT
4950 ${CMAKE_BINARY_DIR} /${DEPS_HOST_JERRY} /bin/jerry-snapshot)
@@ -95,7 +96,7 @@ endif()
9596
9697# Add a few cmake options based on buildtype/external cmake defines
9798if ("${CMAKE_BUILD_TYPE} " STREQUAL "Debug" )
98- list (APPEND DEPS_LIB_JERRY_ARGS -DFEATURE_ERROR_MESSAGES =ON )
99+ list (APPEND DEPS_LIB_JERRY_ARGS -DJERRY_ERROR_MESSAGES =ON )
99100endif ()
100101
101102# NuttX is not using the default port implementation of JerryScript
@@ -135,12 +136,13 @@ ExternalProject_Add(libjerry
135136 -DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}
136137 -DENABLE_ALL_IN_ONE=ON
137138 -DJERRY_CMDLINE=OFF
138- -DFEATURE_SNAPSHOT_EXEC=${ENABLE_SNAPSHOT}
139- -DFEATURE_SNAPSHOT_SAVE=OFF
140- -DFEATURE_PROFILE=${FEATURE_PROFILE}
141- -DFEATURE_LOGGING=ON
142- -DFEATURE_LINE_INFO=${FEATURE_JS_BACKTRACE}
143- -DFEATURE_VM_EXEC_STOP=ON
139+ -DJERRY_SNAPSHOT_EXEC=${ENABLE_SNAPSHOT}
140+ -DJERRY_SNAPSHOT_SAVE=OFF
141+ -DJERRY_PROFILE=${FEATURE_PROFILE}
142+ -DJERRY_LOGGING=ON
143+ -DJERRY_LINE_INFO=${FEATURE_JS_BACKTRACE}
144+ -DJERRY_VM_EXEC_STOP=ON
145+ -DJERRY_ERROR_MESSAGES=ON
144146 -DENABLE_LTO=${ENABLE_LTO}
145147 ${DEPS_LIB_JERRY_ARGS}
146148 ${EXTRA_JERRY_CMAKE_PARAMS}
0 commit comments