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