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