xref: /reactos/sdk/lib/crt/misc/misc.cmake (revision 10e7643c)
1
2list(APPEND LIBCNTPT_MISC_SOURCE
3    misc/fltused.c
4)
5
6if(ARCH STREQUAL "i386")
7    list(APPEND LIBCNTPR_ASM_SOURCE
8        misc/i386/readcr4.S
9    )
10endif()
11
12list(APPEND CRT_MISC_SOURCE
13    ${LIBCNTPT_MISC_SOURCE}
14    misc/__crt_MessageBoxA.c
15    misc/amsg.c
16    misc/assert.c
17    misc/crt_init.c
18    misc/dbgrpt.cpp
19    misc/environ.c
20    misc/getargs.c
21    misc/i10output.c
22    misc/initterm.c
23    misc/lock.c
24    misc/purecall.c
25    misc/stubs.c
26    misc/tls.c
27)
28
29add_library(getopt misc/getopt.c)
30target_compile_definitions(getopt PRIVATE _DLL __USE_CRTIMP)
31add_dependencies(getopt psdk)
32