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