2cddf33ac91a1ea323e2ec2cef9b5a8db8f50cef
[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 NtSaveKey.c
22 NtSetValueKey.c
23 NtWriteFile.c
24 RtlAllocateHeap.c
25 RtlBitmap.c
26 RtlCopyMappedMemory.c
27 RtlDeleteAce.c
28 RtlDetermineDosPathNameType.c
29 RtlDoesFileExists.c
30 RtlDosPathNameToNtPathName_U.c
31 RtlDosSearchPath_U.c
32 RtlDosSearchPath_Ustr.c
33 RtlFirstFreeAce.c
34 RtlGenerate8dot3Name.c
35 RtlGetFullPathName_U.c
36 RtlGetFullPathName_Ustr.c
37 RtlGetFullPathName_UstrEx.c
38 RtlGetLengthWithoutTrailingPathSeperators.c
39 RtlGetLongestNtPathLength.c
40 RtlImageRvaToVa.c
41 RtlInitializeBitMap.c
42 RtlMemoryStream.c
43 RtlReAllocateHeap.c
44 StackOverflow.c
45 SystemInfo.c
46 Timer.c
47 testlist.c)
48
49 if(ARCH STREQUAL "i386")
50 add_asm_files(ntdll_apitest_asm i386/NtContinue.S)
51 endif()
52
53 add_executable(ntdll_apitest ${SOURCE} ${ntdll_apitest_asm})
54 target_link_libraries(ntdll_apitest wine uuid ${PSEH_LIB})
55 set_module_type(ntdll_apitest win32cui)
56 add_importlibs(ntdll_apitest msvcrt advapi32 kernel32 ntdll)
57
58 if(NOT MSVC)
59 set_source_files_properties(RtlGetFullPathName_UstrEx.c PROPERTIES COMPILE_FLAGS "-Wno-format")
60 endif()
61
62 add_cd_file(TARGET ntdll_apitest DESTINATION reactos/bin FOR all)