1
2add_subdirectory(redirptest)
3
4list(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    interlck.c
17    IsDBCSLeadByteEx.c
18    LoadLibraryExW.c
19    lstrcpynW.c
20    lstrlen.c
21    MultiByteToWideChar.c
22    PrivMoveFileIdentityW.c
23    SetConsoleWindowInfo.c
24    SetCurrentDirectory.c
25    SetUnhandledExceptionFilter.c
26    TerminateProcess.c
27    TunnelCache.c
28    WideCharToMultiByte.c
29    testlist.c
30    Mailslot.c)
31
32add_executable(kernel32_apitest ${SOURCE})
33target_link_libraries(kernel32_apitest wine ${PSEH_LIB})
34set_module_type(kernel32_apitest win32cui)
35add_delay_importlibs(kernel32_apitest advapi32 shlwapi)
36add_importlibs(kernel32_apitest msvcrt kernel32 ntdll)
37add_rostests_file(TARGET kernel32_apitest)
38
39list(APPEND MANIFEST_FILES
40    classtest.manifest
41    classtest2.manifest
42    comctl32dep.manifest
43    dep1.manifest
44    deptest.manifest)
45
46foreach(item ${MANIFEST_FILES})
47    add_rostests_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/${item}")
48endforeach(item)
49