[ROSTESTS]
[reactos.git] / rostests / apitests / ntdll / CMakeLists.txt
1
2 list(APPEND SOURCE
3 LdrEnumResources.c
4 NtAllocateVirtualMemory.c
5 NtApphelpCacheControl.c
6 NtContinue.c
7 NtCreateFile.c
8 NtCreateKey.c
9 NtCreateThread.c
10 NtDeleteKey.c
11 NtFreeVirtualMemory.c
12 NtMapViewOfSection.c
13 NtMutant.c
14 NtOpenProcessToken.c
15 NtOpenThreadToken.c
16 NtProtectVirtualMemory.c
17 NtQueryInformationProcess.c
18 NtQueryKey.c
19 NtQuerySystemEnvironmentValue.c
20 NtQueryVolumeInformationFile.c
21 NtReadFile.c
22 NtSaveKey.c
23 NtSetValueKey.c
24 NtWriteFile.c
25 RtlAllocateHeap.c
26 RtlBitmap.c
27 RtlCopyMappedMemory.c
28 RtlDeleteAce.c
29 RtlDetermineDosPathNameType.c
30 RtlDoesFileExists.c
31 RtlDosApplyFileIsolationRedirection_Ustr.c
32 RtlDosPathNameToNtPathName_U.c
33 RtlDosSearchPath_U.c
34 RtlDosSearchPath_Ustr.c
35 RtlFirstFreeAce.c
36 RtlGenerate8dot3Name.c
37 RtlGetFullPathName_U.c
38 RtlGetFullPathName_Ustr.c
39 RtlGetFullPathName_UstrEx.c
40 RtlGetLengthWithoutTrailingPathSeperators.c
41 RtlGetLongestNtPathLength.c
42 RtlImageRvaToVa.c
43 RtlInitializeBitMap.c
44 RtlIsNameLegalDOS8Dot3.c
45 RtlMemoryStream.c
46 RtlReAllocateHeap.c
47 RtlUpcaseUnicodeStringToCountedOemString.c
48 StackOverflow.c
49 SystemInfo.c
50 Timer.c
51 testlist.c)
52
53 if(ARCH STREQUAL "i386")
54 add_asm_files(ntdll_apitest_asm i386/NtContinue.S)
55 endif()
56
57 add_executable(ntdll_apitest ${SOURCE} ${ntdll_apitest_asm})
58 target_link_libraries(ntdll_apitest wine uuid ${PSEH_LIB})
59 set_module_type(ntdll_apitest win32cui)
60 add_importlibs(ntdll_apitest msvcrt advapi32 kernel32 ntdll)
61
62 if(NOT MSVC)
63 set_source_files_properties(RtlGetFullPathName_UstrEx.c PROPERTIES COMPILE_FLAGS "-Wno-format")
64 endif()
65
66 add_rostests_file(TARGET ntdll_apitest)