Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
[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 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
32 add_executable(kernel32_apitest ${SOURCE})
33 target_link_libraries(kernel32_apitest wine ${PSEH_LIB})
34 set_module_type(kernel32_apitest win32cui)
35 add_delay_importlibs(kernel32_apitest advapi32 shlwapi)
36 add_importlibs(kernel32_apitest msvcrt kernel32 ntdll)
37 add_rostests_file(TARGET kernel32_apitest)
38
39 list(APPEND MANIFEST_FILES
40 classtest.manifest
41 classtest2.manifest
42 comctl32dep.manifest
43 dep1.manifest
44 deptest.manifest)
45
46 foreach(item ${MANIFEST_FILES})
47 add_rostests_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/${item}")
48 endforeach(item)