[NTDLL_APITESTS]
[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 RtlInitializeBitMap.c
35 RtlMemoryStream.c
36 RtlReAllocateHeap.c
37 StackOverflow.c
38 SystemInfo.c
39 Timer.c
40 testlist.c)
41
42 if(ARCH STREQUAL "i386")
43 add_asm_files(ntdll_apitest_asm i386/NtContinue.S)
44 endif()
45
46 add_executable(ntdll_apitest ${SOURCE} ${ntdll_apitest_asm})
47 target_link_libraries(ntdll_apitest wine uuid ${PSEH_LIB})
48 set_module_type(ntdll_apitest win32cui)
49 add_importlibs(ntdll_apitest msvcrt advapi32 kernel32 ntdll)
50
51 if(NOT MSVC)
52 set_source_files_properties(RtlGetFullPathName_UstrEx.c PROPERTIES COMPILE_FLAGS "-Wno-format")
53 endif()
54
55 add_cd_file(TARGET ntdll_apitest DESTINATION reactos/bin FOR all)