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