[NTDLL_APITEST]
[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 RtlDosPathNameToNtPathName_U.c
32 RtlDosSearchPath_U.c
33 RtlDosSearchPath_Ustr.c
34 RtlFirstFreeAce.c
35 RtlGenerate8dot3Name.c
36 RtlGetFullPathName_U.c
37 RtlGetFullPathName_Ustr.c
38 RtlGetFullPathName_UstrEx.c
39 RtlGetLengthWithoutTrailingPathSeperators.c
40 RtlGetLongestNtPathLength.c
41 RtlImageRvaToVa.c
42 RtlInitializeBitMap.c
43 RtlIsNameLegalDOS8Dot3.c
44 RtlMemoryStream.c
45 RtlReAllocateHeap.c
46 RtlUpcaseUnicodeStringToCountedOemString.c
47 StackOverflow.c
48 SystemInfo.c
49 Timer.c
50 testlist.c)
51
52 if(ARCH STREQUAL "i386")
53 add_asm_files(ntdll_apitest_asm i386/NtContinue.S)
54 endif()
55
56 add_executable(ntdll_apitest ${SOURCE} ${ntdll_apitest_asm})
57 target_link_libraries(ntdll_apitest wine uuid ${PSEH_LIB})
58 set_module_type(ntdll_apitest win32cui)
59 add_importlibs(ntdll_apitest msvcrt advapi32 kernel32 ntdll)
60
61 if(NOT MSVC)
62 set_source_files_properties(RtlGetFullPathName_UstrEx.c PROPERTIES COMPILE_FLAGS "-Wno-format")
63 endif()
64
65 add_cd_file(TARGET ntdll_apitest DESTINATION reactos/bin FOR all)