[CRT TEST][USER32_APITEST]
[reactos.git] / rostests / apitests / crt / crtdll_crt_apitest.cmake
1
2 list(APPEND SOURCE_CRTDLL
3 # _CIacos.c
4 # _CIasin.c
5 # _CIatan.c
6 # _CIatan2.c
7 # _CIcosh.c
8 # _CIcos.c
9 # _CIexp.c
10 # _CIfmod.c
11 # _CIlog.c
12 # _CIlog10.c
13 # _CIpow.c
14 # _CIsin.c
15 # _CIsinh.c
16 # _CIsqrt.c
17 # _CItan.c
18 # _CItanh.c
19 # _HUGE_dll.c
20 # _XcptFilter.c
21 # __GetMainArgs.c
22 # __argc_dll.c
23 # __argv_dll.c
24 # __dllonexit.c
25 # __doserrno.c
26 # __fpecode.c
27 # __isascii.c
28 # __iscsym.c
29 # __iscsymf.c
30 # __mb_cur_max_dll.c
31 # __pxcptinfoptrs.c
32 # __threadhandle.c
33 # __threadid.c
34 # __toascii.c
35 # _abnormal_termination.c
36 # _access.c
37 # _acmdln_dll.c
38 # _aexit_rtn_dll.c
39 # _amsg_exit.c
40 # _assert.c
41 # _basemajor_dll.c
42 # _baseminor_dll.c
43 # _baseversion_dll.c
44 # _beep.c
45 # _beginthread.c
46 # _c_exit.c
47 # _cabs.c
48 # _cexit.c
49 # _cgets.c
50 # _chdir.c
51 # _chdrive.c
52 # _chgsign.c
53 # _chmod.c
54 # _chsize.c
55 # _clearfp.c
56 # _close.c
57 # _commit.c
58 # _commode_dll.c
59 # _control87.c
60 # _controlfp.c
61 # _copysign.c
62 # _cprintf.c
63 # _cpumode_dll.c
64 # _cputs.c
65 # _creat.c
66 # _cscanf.c
67 # _ctype.c
68 # _cwait.c
69 # _daylight_dll.c
70 # _dup.c
71 # _dup2.c
72 # _ecvt.c
73 # _endthread.c
74 # _environ_dll.c
75 # _eof.c
76 # _errno.c
77 # _except_handler2.c
78 # _execl.c
79 # _execle.c
80 # _execlp.c
81 # _execlpe.c
82 # _execv.c
83 # _execve.c
84 # _execvp.c
85 # _execvpe.c
86 # _exit.c
87 # _expand.c
88 # _fcloseall.c
89 # _fcvt.c
90 # _fdopen.c
91 # _fgetchar.c
92 # _fgetwchar.c
93 # _filbuf.c
94 # _fileinfo_dll.c
95 # _filelength.c
96 # _fileno.c
97 # _findclose.c
98 # _findfirst.c
99 # _findnext.c
100 # _finite.c
101 # _flsbuf.c
102 # _flushall.c
103 # _fmode_dll.c
104 # _fpclass.c
105 # _fpieee_flt.c
106 # _fpreset.c
107 # _fputchar.c
108 # _fputwchar.c
109 # _fsopen.c
110 # _fstat.c
111 # _ftime.c
112 # _ftol.c
113 # _fullpath.c
114 # _futime.c
115 # _gcvt.c
116 # _get_osfhandle.c
117 # _getch.c
118 # _getche.c
119 # _getcwd.c
120 # _getdcwd.c
121 # _getdiskfree.c
122 # _getdllprocaddr.c
123 # _getdrive.c
124 # _getdrives.c
125 # _getpid.c
126 # _getsystime.c
127 # _getw.c
128 # _global_unwind2.c
129 # _heapchk.c
130 # _heapmin.c
131 # _heapset.c
132 # _heapwalk.c
133 # _hypot.c
134 # _initterm.c
135 # _iob.c
136 # _isatty.c
137 # _isctype.c
138 # _ismbbalnum.c
139 # _ismbbalpha.c
140 # _ismbbgraph.c
141 # _ismbbkalnum.c
142 # _ismbbkana.c
143 # _ismbbkpunct.c
144 # _ismbblead.c
145 # _ismbbprint.c
146 # _ismbbpunct.c
147 # _ismbbtrail.c
148 # _ismbcalpha.c
149 # _ismbcdigit.c
150 # _ismbchira.c
151 # _ismbckata.c
152 # _ismbcl0.c
153 # _ismbcl1.c
154 # _ismbcl2.c
155 # _ismbclegal.c
156 # _ismbclower.c
157 # _ismbcprint.c
158 # _ismbcspace.c
159 # _ismbcsymbol.c
160 # _ismbcupper.c
161 # _ismbslead.c
162 # _ismbstrail.c
163 # _isnan.c
164 # _itoa.c
165 # _itow.c
166 # _j0.c
167 # _j1.c
168 # _jn.c
169 # _kbhit.c
170 # _lfind.c
171 # _loaddll.c
172 # _local_unwind2.c
173 # _locking.c
174 # _logb.c
175 # _lrotl.c
176 # _lrotr.c
177 # _lsearch.c
178 # _lseek.c
179 # _ltoa.c
180 # _ltow.c
181 # _makepath.c
182 # _matherr.c
183 # _mbbtombc.c
184 # _mbbtype.c
185 # _mbccpy.c
186 # _mbcjistojms.c
187 # _mbcjmstojis.c
188 # _mbclen.c
189 # _mbctohira.c
190 # _mbctokata.c
191 # _mbctolower.c
192 # _mbctombb.c
193 # _mbctoupper.c
194 # _mbctype.c
195 # _mbsbtype.c
196 # _mbscat.c
197 # _mbschr.c
198 # _mbscmp.c
199 # _mbscpy.c
200 # _mbscspn.c
201 # _mbsdec.c
202 # _mbsdup.c
203 # _mbsicmp.c
204 # _mbsinc.c
205 # _mbslen.c
206 # _mbslwr.c
207 # _mbsnbcat.c
208 # _mbsnbcmp.c
209 # _mbsnbcnt.c
210 # _mbsnbcpy.c
211 # _mbsnbicmp.c
212 # _mbsnbset.c
213 # _mbsncat.c
214 # _mbsnccnt.c
215 # _mbsncmp.c
216 # _mbsncpy.c
217 # _mbsnextc.c
218 # _mbsnicmp.c
219 # _mbsninc.c
220 # _mbsnset.c
221 # _mbspbrk.c
222 # _mbsrchr.c
223 # _mbsrev.c
224 # _mbsset.c
225 # _mbsspn.c
226 # _mbsspnp.c
227 # _mbsstr.c
228 # _mbstok.c
229 # _mbstrlen.c
230 # _mbsupr.c
231 # _memccpy.c
232 # _memicmp.c
233 # _mkdir.c
234 # _mktemp.c
235 # _msize.c
236 # _nextafter.c
237 # _onexit.c
238 # _open.c
239 # _open_osfhandle.c
240 # _osmajor_dll.c
241 # _osminor_dll.c
242 # _osmode_dll.c
243 # _osver_dll.c
244 # _osversion_dll.c
245 # _pclose.c
246 # _pctype_dll.c
247 # _pgmptr_dll.c
248 # _pipe.c
249 # _popen.c
250 # _purecall.c
251 # _putch.c
252 # _putenv.c
253 # _putw.c
254 # _pwctype_dll.c
255 # _read.c
256 # _rmdir.c
257 # _rmtmp.c
258 # _rotl.c
259 # _rotr.c
260 # _scalb.c
261 # _searchenv.c
262 # _seterrormode.c
263 # _setjmp.c
264 # _setmode.c
265 # _setsystime.c
266 # _sleep.c
267 # _snprintf.c
268 # _snwprintf.c
269 # _sopen.c
270 # _spawnl.c
271 # _spawnle.c
272 # _spawnlp.c
273 # _spawnlpe.c
274 # _spawnv.c
275 # _spawnve.c
276 # _spawnvp.c
277 # _spawnvpe.c
278 # _splitpath.c
279 # _stat.c
280 # _statusfp.c
281 # _strcmpi.c
282 # _strdate.c
283 # _strdec.c
284 # _strdup.c
285 # _strerror.c
286 # _stricmp.c
287 # _stricoll.c
288 # _strinc.c
289 # _strlwr.c
290 # _strncnt.c
291 # _strnextc.c
292 # _strnicmp.c
293 # _strninc.c
294 # _strnset.c
295 # _strrev.c
296 # _strset.c
297 # _strspnp.c)
298 # _strtime.c
299 # _strupr.c
300 # _swab.c
301 # _sys_errlist.c
302 # _sys_nerr_dll.c
303 # _tell.c
304 # _tempnam.c
305 # _timezone_dll.c
306 # _tolower.c
307 # _toupper.c
308 # _tzname.c
309 # _tzset.c
310 # _ultoa.c
311 # _ultow.c
312 # _umask.c
313 # _ungetch.c
314 # _unlink.c
315 # _unloaddll.c
316 # _utime.c
317 # _vsnprintf.c
318 # _vsnwprintf.c
319 # _wcsdup.c
320 # _wcsicmp.c
321 # _wcsicoll.c
322 # _wcslwr.c
323 # _wcsnicmp.c
324 # _wcsnset.c
325 # _wcsrev.c
326 # _wcsset.c
327 # _wcsupr.c
328 # _winmajor_dll.c
329 # _winminor_dll.c
330 # _winver_dll.c
331 # _write.c
332 # _wtoi.c
333 # _wtol.c
334 # _y0.c
335 # _y1.c
336 # _yn.c
337 # abort.c
338 # abs.c
339 # acos.c
340 # asctime.c
341 # asin.c
342 # atan.c
343 # atan2.c
344 # atexit.c
345 # atof.c
346 # atoi.c
347 # atol.c
348 # bsearch.c
349 # calloc.c
350 # ceil.c
351 # clearerr.c
352 # clock.c
353 # cos.c
354 # cosh.c
355 # ctime.c
356 # difftime.c
357 # div.c
358 # exit.c
359 # exp.c
360 # fabs.c
361 # fclose.c
362 # feof.c
363 # ferror.c
364 # fflush.c
365 # fgetc.c
366 # fgetpos.c
367 # fgets.c
368 # fgetwc.c
369 # floor.c
370 # fmod.c
371 # fopen.c
372 # fprintf.c
373 # fputc.c
374 # fputs.c
375 # fputwc.c
376 # fread.c
377 # free.c
378 # freopen.c
379 # frexp.c
380 # fscanf.c
381 # fseek.c
382 # fsetpos.c
383 # ftell.c
384 # fwprintf.c
385 # fwrite.c
386 # fwscanf.c
387 # getc.c
388 # getchar.c
389 # getenv.c
390 # gets.c
391 # gmtime.c
392 # is_wctype.c
393 # isalnum.c
394 # isalpha.c
395 # iscntrl.c
396 # isdigit.c
397 # isgraph.c
398 # isleadbyte.c
399 # islower.c
400 # isprint.c
401 # ispunct.c
402 # isspace.c
403 # isupper.c
404 # iswalnum.c
405 # iswalpha.c
406 # iswascii.c
407 # iswcntrl.c
408 # iswctype.c
409 # iswdigit.c
410 # iswgraph.c
411 # iswlower.c
412 # iswprint.c
413 # iswpunct.c
414 # iswspace.c
415 # iswupper.c
416 # iswxdigit.c
417 # isxdigit.c
418 # labs.c
419 # ldexp.c
420 # ldiv.c
421 # localeconv.c
422 # localtime.c
423 # log.c
424 # log10.c
425 # longjmp.c
426 # malloc.c
427 # mblen.c
428 # mbstowcs.c
429 # mbtowc.c
430 # memchr.c
431 # memcmp.c
432 # memcpy.c
433 # memmove.c
434 # memset.c
435 # mktime.c
436 # modf.c
437 # perror.c
438 # pow.c
439 # printf.c
440 # putc.c
441 # putchar.c
442 # puts.c
443 # qsort.c
444 # raise.c
445 # rand.c
446 # realloc.c
447 # remove.c
448 # rename.c
449 # rewind.c
450 # scanf.c
451 # setbuf.c
452 # setlocale.c
453 # setvbuf.c
454 # signal.c
455 # sin.c
456 # sinh.c
457 sprintf.c
458 # sqrt.c
459 # srand.c
460 # sscanf.c
461 # strcat.c
462 # strchr.c
463 # strcmp.c
464 # strcoll.c
465 strcpy.c
466 # strcspn.c
467 # strerror.c
468 # strftime.c
469 # strlen.c
470 # strncat.c
471 # strncmp.c
472 # strncpy.c
473 # strpbrk.c
474 # strrchr.c
475 # strspn.c
476 # strstr.c
477 # strtod.c
478 # strtok.c
479 # strtol.c
480 # strtoul.c
481 # strxfrm.c
482 # swprintf.c
483 # swscanf.c
484 # system.c
485 # tan.c
486 # tanh.c
487 # time.c
488 # tmpfile.c
489 # tmpnam.c
490 # tolower.c
491 # toupper.c
492 # towlower.c
493 # towupper.c
494 # ungetc.c
495 # ungetwc.c
496 # vfprintf.c
497 # vfwprintf.c
498 # vprintf.c
499 # vsprintf.c
500 # vswprintf.c
501 # vwprintf.c
502 # wcscat.c
503 # wcschr.c
504 # wcscmp.c
505 # wcscoll.c
506 # wcscpy.c
507 # wcscspn.c
508 # wcsftime.c
509 # wcslen.c
510 # wcsncat.c
511 # wcsncmp.c
512 # wcsncpy.c
513 # wcspbrk.c
514 # wcsrchr.c
515 # wcsspn.c
516 # wcsstr.c
517 # wcstod.c
518 # wcstok.c
519 # wcstol.c
520 # wcstombs.c
521 # wcstoul.c
522 # wcsxfrm.c
523 # wctomb.c
524 # wprintf.c
525 # wscanf.c
526 )
527
528 if (ARCH MATCHES i386)
529 list(APPEND SOURCE_CRTDLL
530 # _CIpow.c
531 # _ftol.c
532 # _alldiv.c
533 # _alldvrm.c
534 # _allmul.c
535 # _allrem.c
536 # _allshl.c
537 # _allshr.c
538 # _alloca_probe.c
539 # _aulldiv.c
540 # _aulldvrm.c
541 # _aullrem.c
542 # _aullshr.c
543 # _chkstk.c
544 )
545 elseif (ARCH MATCHES amd64)
546 list(APPEND SOURCE_CRTDLL
547 # __C_specific_handler
548 # _setjmp.c
549 # _setjmpex.c
550 # _local_unwind.c
551 # longjmp.c
552 )
553 endif()
554
555
556 add_executable(crtdll_crt_apitest testlist.c ${SOURCE_CRTDLL})
557 add_target_compile_definitions(crtdll_crt_apitest TEST_CRTDLL)
558 target_link_libraries(crtdll_crt_apitest wine ${PSEH_LIB})
559 set_module_type(crtdll_crt_apitest win32cui)
560 add_importlibs(crtdll_crt_apitest crtdll msvcrt kernel32 ntdll)
561 add_cd_file(TARGET crtdll_crt_apitest DESTINATION reactos/bin FOR all)