[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 RtlMemoryStream.c
44 RtlReAllocateHeap.c
45 StackOverflow.c
46 SystemInfo.c
47 Timer.c
48 testlist.c)
49
50 if(ARCH STREQUAL "i386")
51 add_asm_files(ntdll_apitest_asm i386/NtContinue.S)
52 endif()
53
54 add_executable(ntdll_apitest ${SOURCE} ${ntdll_apitest_asm})
55 target_link_libraries(ntdll_apitest wine uuid ${PSEH_LIB})
56 set_module_type(ntdll_apitest win32cui)
57 add_importlibs(ntdll_apitest msvcrt advapi32 kernel32 ntdll)
58
59 if(NOT MSVC)
60 set_source_files_properties(RtlGetFullPathName_UstrEx.c PROPERTIES COMPILE_FLAGS "-Wno-format")
61 endif()
62
63 add_cd_file(TARGET ntdll_apitest DESTINATION reactos/bin FOR all)