mirror of
https://github.com/reactos/reactos.git
synced 2025-07-28 11:31:54 +00:00
[CRT] Refactor CMake files
This commit is contained in:
parent
3e1454c739
commit
8c4aff39a8
22 changed files with 936 additions and 886 deletions
29
sdk/lib/crt/misc/misc.cmake
Normal file
29
sdk/lib/crt/misc/misc.cmake
Normal file
|
@ -0,0 +1,29 @@
|
|||
|
||||
list(APPEND LIBCNTPT_MISC_SOURCE
|
||||
misc/fltused.c
|
||||
)
|
||||
|
||||
if(ARCH STREQUAL "i386")
|
||||
list(APPEND LIBCNTPR_ASM_SOURCE
|
||||
misc/i386/readcr4.S
|
||||
)
|
||||
endif()
|
||||
|
||||
list(APPEND CRT_MISC_SOURCE
|
||||
${LIBCNTPT_MISC_SOURCE}
|
||||
misc/__crt_MessageBoxA.c
|
||||
misc/amsg.c
|
||||
misc/assert.c
|
||||
misc/environ.c
|
||||
misc/getargs.c
|
||||
misc/i10output.c
|
||||
misc/initterm.c
|
||||
misc/lock.c
|
||||
misc/purecall.c
|
||||
misc/stubs.c
|
||||
misc/tls.c
|
||||
)
|
||||
|
||||
add_library(getopt misc/getopt.c)
|
||||
target_compile_definitions(getopt PRIVATE _DLL __USE_CRTIMP)
|
||||
add_dependencies(getopt psdk)
|
Loading…
Add table
Add a link
Reference in a new issue