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