[NTDLL_APITESTS]
[reactos.git] / rostests / apitests / ntdll / CMakeLists.txt
1
2 list(APPEND SOURCE
3 LdrEnumResources.c
4 NtAllocateVirtualMemory.c
5 NtContinue.c
6 NtCreateFile.c
7 NtCreateThread.c
8 NtFreeVirtualMemory.c
9 NtMapViewOfSection.c
10 NtMutant.c
11 NtProtectVirtualMemory.c
12 NtQuerySystemEnvironmentValue.c
13 NtQueryVolumeInformationFile.c
14 NtSaveKey.c
15 RtlBitmap.c
16 RtlDetermineDosPathNameType.c
17 RtlDoesFileExists.c
18 RtlDosPathNameToNtPathName_U.c
19 RtlDosSearchPath_U.c
20 RtlDosSearchPath_Ustr.c
21 RtlGetFullPathName_U.c
22 RtlGetFullPathName_Ustr.c
23 RtlGetFullPathName_UstrEx.c
24 RtlGetLengthWithoutTrailingPathSeperators.c
25 RtlGetLongestNtPathLength.c
26 RtlInitializeBitMap.c
27 RtlMemoryStream.c
28 SystemInfo.c
29 Timer.c
30 testlist.c)
31
32 if(ARCH STREQUAL "i386")
33 add_asm_files(ntdll_apitest_asm i386/NtContinue.S)
34 endif()
35
36 add_executable(ntdll_apitest ${SOURCE} ${ntdll_apitest_asm})
37 target_link_libraries(ntdll_apitest wine uuid ${PSEH_LIB})
38 set_module_type(ntdll_apitest win32cui)
39 add_importlibs(ntdll_apitest msvcrt advapi32 kernel32 ntdll)
40
41 if(NOT MSVC)
42 set_source_files_properties(RtlGetFullPathName_UstrEx.c PROPERTIES COMPILE_FLAGS "-Wno-format")
43 endif()
44
45 add_cd_file(TARGET ntdll_apitest DESTINATION reactos/bin FOR all)