Introducing jerry-libc's interface include directory.
This commit is contained in:
@@ -144,6 +144,7 @@ project (JerryCore CXX C ASM)
|
||||
PROPERTY COMPILE_FLAGS "${COMPILE_FLAGS_JERRY} ${CXX_FLAGS_JERRY} ${FLAGS_COMMON_${BUILD_MODE}}")
|
||||
target_compile_definitions(${TARGET_NAME}.jerry-core PRIVATE ${DEFINES_JERRY})
|
||||
target_include_directories(${TARGET_NAME}.jerry-core PRIVATE ${INCLUDE_CORE})
|
||||
target_include_directories(${TARGET_NAME}.jerry-core SYSTEM PRIVATE ${INCLUDE_LIBC_INTERFACE})
|
||||
|
||||
if("${BUILD_MODE}" STREQUAL "UNITTESTS")
|
||||
target_compile_definitions(${TARGET_NAME}.jerry-core INTERFACE ${DEFINES_JERRY})
|
||||
|
||||
@@ -21,33 +21,4 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
/* Ensuring no macro implementation of functions declared in the headers are used */
|
||||
#undef isspace
|
||||
#undef isalpha
|
||||
#undef islower
|
||||
#undef isupper
|
||||
#undef isdigit
|
||||
#undef isxdigit
|
||||
#undef memset
|
||||
#undef memcmp
|
||||
#undef memcpy
|
||||
#undef memmove
|
||||
#undef strcmp
|
||||
#undef strncmp
|
||||
#undef strncpy
|
||||
#undef strlen
|
||||
#undef putchar
|
||||
#undef puts
|
||||
#undef exit
|
||||
#undef fopen
|
||||
#undef rewind
|
||||
#undef fclose
|
||||
#undef fseek
|
||||
#undef ftell
|
||||
#undef fread
|
||||
#undef fwrite
|
||||
#undef vfprintf
|
||||
#undef fprintf
|
||||
#undef printf
|
||||
|
||||
#endif /* !JRT_LIBC_INCLUDES_H */
|
||||
|
||||
Reference in New Issue
Block a user