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