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