06edd1b9c33b967eeb61356ca3096a6ddaa10398
[reactos.git] / modules / rostests / apitests / kernel32 / CMakeLists.txt
1
2 add_subdirectory(redirptest)
3
4 list(APPEND SOURCE
5 Console.c
6 CreateProcess.c
7 DefaultActCtx.c
8 DeviceIoControl.c
9 dosdev.c
10 FindActCtxSectionStringW.c
11 FindFiles.c
12 GetComputerNameEx.c
13 GetCurrentDirectory.c
14 GetDriveType.c
15 GetModuleFileName.c
16 GetVolumeInformation.c
17 interlck.c
18 IsDBCSLeadByteEx.c
19 LoadLibraryExW.c
20 lstrcpynW.c
21 lstrlen.c
22 Mailslot.c
23 MultiByteToWideChar.c
24 PrivMoveFileIdentityW.c
25 SetConsoleWindowInfo.c
26 SetCurrentDirectory.c
27 SetUnhandledExceptionFilter.c
28 TerminateProcess.c
29 TunnelCache.c
30 WideCharToMultiByte.c
31 precomp.h)
32
33 add_executable(kernel32_apitest ${SOURCE} testlist.c)
34 target_link_libraries(kernel32_apitest wine ${PSEH_LIB})
35 set_module_type(kernel32_apitest win32cui)
36 add_delay_importlibs(kernel32_apitest advapi32 shlwapi)
37 add_importlibs(kernel32_apitest msvcrt kernel32 ntdll)
38 add_pch(kernel32_apitest precomp.h SOURCE)
39 add_rostests_file(TARGET kernel32_apitest)
40
41 list(APPEND MANIFEST_FILES
42 classtest.manifest
43 classtest2.manifest
44 comctl32dep.manifest
45 dep1.manifest
46 deptest.manifest)
47
48 foreach(item ${MANIFEST_FILES})
49 add_rostests_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/${item}")
50 endforeach(item)