1
0
Fork 0
mirror of https://github.com/reactos/reactos.git synced 2025-05-09 20:03:20 +00:00
reactos/sdk/lib/crt/ucrtsupport.cmake

30 lines
664 B
CMake
Raw Normal View History

list(APPEND UCRTSUPP_SOURCE
${CRT_FLOAT_SOURCE}
${CRT_MATH_SOURCE}
wine/undname.c
)
list(APPEND UCRTSUPP_ASM_SOURCE
${CRT_EXCEPT_ASM_SOURCE}
${CRT_FLOAT_ASM_SOURCE}
${CRT_MATH_ASM_SOURCE}
${CRT_SETJMP_ASM_SOURCE}
)
add_asm_files(ucrtsupp_asm ${UCRTSUPP_ASM_SOURCE})
add_library(ucrtsupport ${UCRTSUPP_SOURCE} ${ucrtsupp_asm})
target_link_libraries(ucrtsupport chkstk ${PSEH_LIB})
target_compile_definitions(ucrtsupport PRIVATE
CRTDLL
_MSVCRT_LIB_
_MSVCRT_
_MT
USE_MSVCRT_PREFIX
__MINGW_IMPORT=extern
__fma3_lib_init=__acrt_initialize_fma3
)
#add_pch(crt precomp.h)
add_dependencies(ucrtsupport psdk asm)