Move the logic of Valgrind-support check to the CMake part.
Related pull request: #866 JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
This commit is contained in:
@@ -77,6 +77,10 @@ project (Jerry CXX C ASM)
|
||||
|
||||
option(STRIP_RELEASE_BINARY "Strip symbols from release binaries" ON)
|
||||
elseif("${PLATFORM}" STREQUAL "MCU")
|
||||
if (("${ENABLE_VALGRIND}" STREQUAL "ON") OR ("${ENABLE_VALGRIND_FREYA}" STREQUAL "ON"))
|
||||
message(FATAL_ERROR "This target isn't supported with Valgrind.")
|
||||
endif()
|
||||
|
||||
set(PLATFORM_EXT "MCU_${CMAKE_SYSTEM_VERSION}")
|
||||
set(EXTERNAL_BUILD FALSE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user