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