41322e1c338a3ae3a6bdbf3ca3d1401be927b682
[reactos.git] / modules / rostests / apitests / crt / ntdll_crt_apitest.cmake
1
2 list(APPEND SOURCE_NTDLL
3 # _CIcos.c
4 # _CIlog.c
5 # _CIsin.c
6 # _CIsqrt.c
7 # __isascii.c
8 # __iscsym.c
9 # __iscsymf.c
10 # __toascii.c
11 # _atoi64.c
12 # _fltused.c
13 # _i64toa.c
14 # _i64tow.c
15 # _itoa.c
16 # _itow.c
17 # _lfind.c
18 # _ltoa.c
19 # _ltow.c
20 # _memccpy.c
21 # _memicmp.c
22 _snprintf.c
23 _snwprintf.c
24 # _splitpath.c
25 # _strcmpi == _stricmp
26 # _stricmp.c
27 # _strlwr.c
28 # _strnicmp.c
29 # _strupr.c
30 # _tolower.c
31 # _toupper.c
32 # _ui64toa.c
33 # _ui64tow.c
34 # _ultoa.c
35 # _ultow.c
36 _vscwprintf.c
37 _vsnprintf.c
38 _vsnwprintf.c
39 # _wcsicmp.c
40 # _wcslwr.c
41 # _wcsnicmp.c
42 # _wcsupr.c
43 # _wtoi.c
44 # _wtoi64.c
45 # _wtol.c
46 # abs.c
47 # atan.c
48 # atoi.c
49 # atol.c
50 # bsearch.c
51 # ceil.c
52 # cos.c
53 # fabs.c
54 # floor.c
55 # isalnum.c
56 # isalpha.c
57 # iscntrl.c
58 # isdigit.c
59 # isgraph.c
60 # islower.c
61 # isprint.c
62 # ispunct.c
63 # isspace.c
64 # isupper.c
65 # iswalpha.c
66 # iswctype.c
67 # iswdigit.c
68 # iswlower.c
69 # iswspace.c
70 # iswxdigit.c
71 # isxdigit.c
72 # labs.c
73 # log.c
74 mbstowcs.c
75 mbtowc.c
76 # memchr.c
77 # memcmp.c
78 # memcpy == memmove
79 # memmove.c
80 # memset.c
81 # pow.c
82 # qsort.c
83 # sin.c
84 sprintf.c
85 # sqrt.c
86 # sscanf.c
87 # strcat.c
88 # strchr.c
89 # strcmp.c
90 strcpy.c
91 # strcspn.c
92 strlen.c
93 # strncat.c
94 # strncmp.c
95 # strncpy.c
96 # strpbrk.c
97 # strrchr.c
98 # strspn.c
99 # strstr.c
100 # strtol.c
101 strtoul.c
102 # swprintf.c
103 # tan.c
104 # tolower.c
105 # toupper.c
106 # towlower.c
107 # towupper.c
108 # vsprintf.c
109 # wcscat.c
110 # wcschr.c
111 # wcscmp.c
112 # wcscpy.c
113 # wcscspn.c
114 # wcslen.c
115 # wcsncat.c
116 # wcsncmp.c
117 # wcsncpy.c
118 # wcspbrk.c
119 # wcsrchr.c
120 # wcsspn.c
121 # wcsstr.c
122 # wcstok.c
123 # wcstol.c
124 wcstombs.c
125 wcstoul.c
126 )
127
128 if(ARCH STREQUAL "i386")
129 list(APPEND SOURCE_NTDLL
130 # _CIpow.c
131 # _ftol.c
132 # _alldiv.c
133 # _alldvrm.c
134 # _allmul.c
135 # _allrem.c
136 # _allshl.c
137 # _allshr.c
138 # _alloca_probe.c
139 # _aulldiv.c
140 # _aulldvrm.c
141 # _aullrem.c
142 # _aullshr.c
143 # _chkstk.c
144 )
145 elseif(ARCH STREQUAL "amd64")
146 list(APPEND SOURCE_NTDLL
147 # __C_specific_handler
148 # _setjmp.c
149 # _setjmpex.c
150 # _local_unwind.c
151 # longjmp.c
152 )
153 endif()
154
155 add_executable(ntdll_crt_apitest testlist.c ${SOURCE_NTDLL})
156 target_compile_definitions(ntdll_crt_apitest PRIVATE TEST_NTDLL)
157 target_link_libraries(ntdll_crt_apitest wine ${PSEH_LIB})
158 set_module_type(ntdll_crt_apitest win32cui)
159 add_importlibs(ntdll_crt_apitest ntdll msvcrt kernel32)
160 add_rostests_file(TARGET ntdll_crt_apitest)