mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 14:30:57 +00:00
45 lines
939 B
CMake
45 lines
939 B
CMake
|
|
list(APPEND LIBCNTPR_STDLIB_SOURCE
|
|
stdlib/qsort.c
|
|
)
|
|
|
|
list(APPEND CRT_STDLIB_SOURCE
|
|
${LIBCNTPR_STDLIB_SOURCE}
|
|
stdlib/_exit.c
|
|
stdlib/_set_abort_behavior.c
|
|
stdlib/abort.c
|
|
stdlib/atexit.c
|
|
stdlib/ecvt.c
|
|
stdlib/errno.c
|
|
stdlib/fcvt.c
|
|
stdlib/fcvtbuf.c
|
|
stdlib/fullpath.c
|
|
stdlib/gcvt.c
|
|
stdlib/getenv.c
|
|
stdlib/makepath.c
|
|
stdlib/makepath_s.c
|
|
stdlib/mbtowc.c
|
|
stdlib/mbstowcs.c
|
|
stdlib/obsol.c
|
|
stdlib/putenv.c
|
|
stdlib/rot.c
|
|
stdlib/senv.c
|
|
stdlib/swab.c
|
|
stdlib/wfulpath.c
|
|
stdlib/wputenv.c
|
|
stdlib/wsenv.c
|
|
stdlib/wmakpath.c
|
|
stdlib/wmakpath_s.c
|
|
)
|
|
|
|
if(MSVC AND CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
|
if(ARCH STREQUAL "i386")
|
|
list(APPEND CRT_STDLIB_ASM_SOURCE
|
|
stdlib/clang-alias.s
|
|
)
|
|
elseif(ARCH STREQUAL "amd64")
|
|
list(APPEND CRT_STDLIB_ASM_SOURCE
|
|
stdlib/clang-alias.s
|
|
)
|
|
endif()
|
|
endif()
|