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