mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:43:00 +00:00
[CRT] Add crtmath library
This commit is contained in:
parent
4866a25a8f
commit
35bc1e1d9e
5 changed files with 22 additions and 8 deletions
19
sdk/lib/crt/crtmath.cmake
Normal file
19
sdk/lib/crt/crtmath.cmake
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
list(APPEND CRTMATH_SOURCE
|
||||
${CRT_FLOAT_SOURCE}
|
||||
${CRT_MATH_SOURCE}
|
||||
)
|
||||
|
||||
list(APPEND CRTMATH_ASM_SOURCE
|
||||
${CRT_FLOAT_ASM_SOURCE}
|
||||
${CRT_MATH_ASM_SOURCE}
|
||||
)
|
||||
|
||||
add_asm_files(crtmath_asm ${CRTMATH_ASM_SOURCE})
|
||||
|
||||
add_library(crtmath ${CRTMATH_SOURCE} ${crtmath_asm})
|
||||
target_compile_definitions(crtmath PRIVATE
|
||||
USE_MSVCRT_PREFIX
|
||||
__fma3_lib_init=__acrt_initialize_fma3
|
||||
)
|
||||
add_dependencies(crtmath psdk asm)
|
Loading…
Add table
Add a link
Reference in a new issue