2021-07-17 12:53:17 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
)
|
|
|
|
|
2022-05-25 23:03:50 +00:00
|
|
|
if(MSVC AND CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
2021-07-17 12:53:17 +00:00
|
|
|
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()
|