[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 NtCreateThread.c
9 NtDeleteKey.c
10 NtFreeVirtualMemory.c
11 NtMapViewOfSection.c
12 NtMutant.c
13 NtOpenProcessToken.c
14 NtOpenThreadToken.c
15 NtProtectVirtualMemory.c
16 NtQueryKey.c
17 NtQuerySystemEnvironmentValue.c
18 NtQueryVolumeInformationFile.c
19 NtSaveKey.c
20 RtlAllocateHeap.c
21 RtlBitmap.c
22 RtlCopyMappedMemory.c
23 RtlDetermineDosPathNameType.c
24 RtlDoesFileExists.c
25 RtlDosPathNameToNtPathName_U.c
26 RtlDosSearchPath_U.c
27 RtlDosSearchPath_Ustr.c
28 RtlGenerate8dot3Name.c
29 RtlGetFullPathName_U.c
30 RtlGetFullPathName_Ustr.c
31 RtlGetFullPathName_UstrEx.c
32 RtlGetLengthWithoutTrailingPathSeperators.c
33 RtlGetLongestNtPathLength.c
34 RtlImageRvaToVa.c
35 RtlInitializeBitMap.c
36 RtlMemoryStream.c
37 RtlReAllocateHeap.c
38 StackOverflow.c
39 SystemInfo.c
40 Timer.c
41 testlist.c)
42
43 if(ARCH STREQUAL "i386")
44 add_asm_files(ntdll_apitest_asm i386/NtContinue.S)
45 endif()
46
47 add_executable(ntdll_apitest ${SOURCE} ${ntdll_apitest_asm})
48 target_link_libraries(ntdll_apitest wine uuid ${PSEH_LIB})
49 set_module_type(ntdll_apitest win32cui)
50 add_importlibs(ntdll_apitest msvcrt advapi32 kernel32 ntdll)
51
52 if(NOT MSVC)
53 set_source_files_properties(RtlGetFullPathName_UstrEx.c PROPERTIES COMPILE_FLAGS "-Wno-format")
54 endif()
55
56 add_cd_file(TARGET ntdll_apitest DESTINATION reactos/bin FOR all)