mirror of
https://github.com/reactos/reactos.git
synced 2024-08-27 13:48:42 +00:00
33 lines
647 B
CMake
33 lines
647 B
CMake
![]() |
|
||
|
list(APPEND LIBCNTPR_MEM_SOURCE
|
||
|
mem/memccpy.c
|
||
|
mem/memcmp.c
|
||
|
mem/memicmp.c
|
||
|
)
|
||
|
|
||
|
if(ARCH STREQUAL "i386")
|
||
|
list(APPEND LIBCNTPR_MEM_ASM_SOURCE
|
||
|
mem/i386/memchr_asm.s
|
||
|
mem/i386/memmove_asm.s
|
||
|
mem/i386/memset_asm.s
|
||
|
)
|
||
|
list(APPEND CRT_MEM_ASM_SOURCE
|
||
|
${LIBCNTPR_MEM_ASM_SOURCE}
|
||
|
)
|
||
|
else()
|
||
|
list(APPEND LIBCNTPR_MEM_SOURCE
|
||
|
mem/memchr.c
|
||
|
mem/memcpy.c
|
||
|
mem/memmove.c
|
||
|
mem/memset.c
|
||
|
)
|
||
|
endif()
|
||
|
|
||
|
list(APPEND CRT_MEM_SOURCE
|
||
|
${LIBCNTPR_MEM_SOURCE}
|
||
|
)
|
||
|
|
||
|
# Needed by ext2fs. Should use RtlCompareMemory instead?
|
||
|
add_library(memcmp mem/memcmp.c)
|
||
|
add_dependencies(memcmp psdk)
|