[KERNEL32_APITEST] Add a test for FormatMessage backed with MC file.
[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 TerminateProcess.c
32 TunnelCache.c
33 WideCharToMultiByte.c
34 precomp.h)
35
36 add_executable(kernel32_apitest ${SOURCE} testlist.c kernel32_apitest.rc)
37 target_link_libraries(kernel32_apitest wine ${PSEH_LIB})
38 set_module_type(kernel32_apitest win32cui)
39 add_delay_importlibs(kernel32_apitest advapi32 shlwapi)
40 add_importlibs(kernel32_apitest msvcrt kernel32 ntdll)
41 add_dependencies(kernel32_apitest FormatMessage)
42 add_pch(kernel32_apitest precomp.h SOURCE)
43 add_rostests_file(TARGET kernel32_apitest)
44
45 list(APPEND MANIFEST_FILES
46 classtest.manifest
47 classtest2.manifest
48 comctl32dep.manifest
49 dep1.manifest
50 deptest.manifest)
51
52 foreach(item ${MANIFEST_FILES})
53 add_rostests_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/${item}")
54 endforeach(item)