2011-04-28 22:10:51 +00:00
|
|
|
|
2017-01-17 19:11:05 +00:00
|
|
|
add_subdirectory(redirptest)
|
|
|
|
|
2017-12-16 18:39:37 +00:00
|
|
|
add_message_headers(ANSI FormatMessage.mc)
|
|
|
|
|
2011-04-28 22:10:51 +00:00
|
|
|
list(APPEND SOURCE
|
2019-04-28 20:47:14 +00:00
|
|
|
ConsoleCP.c
|
2017-05-30 20:55:15 +00:00
|
|
|
CreateProcess.c
|
2017-01-17 19:11:05 +00:00
|
|
|
DefaultActCtx.c
|
2017-03-02 19:33:25 +00:00
|
|
|
DeviceIoControl.c
|
2013-12-19 21:39:09 +00:00
|
|
|
dosdev.c
|
2017-01-06 18:48:15 +00:00
|
|
|
FindActCtxSectionStringW.c
|
2013-06-02 17:01:22 +00:00
|
|
|
FindFiles.c
|
2018-05-08 20:09:04 +00:00
|
|
|
FLS.c
|
2017-12-16 18:39:37 +00:00
|
|
|
FormatMessage.c
|
2016-07-16 07:08:21 +00:00
|
|
|
GetComputerNameEx.c
|
2012-05-04 10:28:54 +00:00
|
|
|
GetCurrentDirectory.c
|
2011-04-28 22:10:51 +00:00
|
|
|
GetDriveType.c
|
2012-05-04 12:31:47 +00:00
|
|
|
GetModuleFileName.c
|
2017-10-15 08:44:50 +00:00
|
|
|
GetVolumeInformation.c
|
2013-12-19 21:39:09 +00:00
|
|
|
interlck.c
|
2017-06-03 07:05:31 +00:00
|
|
|
IsDBCSLeadByteEx.c
|
2019-04-05 00:06:41 +00:00
|
|
|
JapaneseCalendar.c
|
2017-01-17 19:11:05 +00:00
|
|
|
LoadLibraryExW.c
|
2012-08-27 16:34:17 +00:00
|
|
|
lstrcpynW.c
|
2017-03-06 19:14:27 +00:00
|
|
|
lstrlen.c
|
2017-12-13 12:48:26 +00:00
|
|
|
Mailslot.c
|
2013-02-09 10:56:28 +00:00
|
|
|
MultiByteToWideChar.c
|
2015-04-18 19:46:57 +00:00
|
|
|
PrivMoveFileIdentityW.c
|
2019-05-25 12:15:24 +00:00
|
|
|
SetComputerNameExW.c
|
2016-10-18 15:35:06 +00:00
|
|
|
SetConsoleWindowInfo.c
|
2012-05-04 10:28:54 +00:00
|
|
|
SetCurrentDirectory.c
|
2012-09-11 04:34:03 +00:00
|
|
|
SetUnhandledExceptionFilter.c
|
2018-07-29 14:43:10 +00:00
|
|
|
SystemFirmware.c
|
2015-02-20 10:29:47 +00:00
|
|
|
TerminateProcess.c
|
2015-05-25 10:30:12 +00:00
|
|
|
TunnelCache.c
|
2016-09-26 10:06:55 +00:00
|
|
|
WideCharToMultiByte.c
|
2017-12-13 12:48:26 +00:00
|
|
|
precomp.h)
|
2011-04-28 22:10:51 +00:00
|
|
|
|
2017-12-16 18:39:37 +00:00
|
|
|
add_executable(kernel32_apitest ${SOURCE} testlist.c kernel32_apitest.rc)
|
2011-04-28 22:10:51 +00:00
|
|
|
target_link_libraries(kernel32_apitest wine ${PSEH_LIB})
|
|
|
|
set_module_type(kernel32_apitest win32cui)
|
2017-01-06 18:48:15 +00:00
|
|
|
add_delay_importlibs(kernel32_apitest advapi32 shlwapi)
|
|
|
|
add_importlibs(kernel32_apitest msvcrt kernel32 ntdll)
|
2017-12-16 18:39:37 +00:00
|
|
|
add_dependencies(kernel32_apitest FormatMessage)
|
2017-12-13 12:48:26 +00:00
|
|
|
add_pch(kernel32_apitest precomp.h SOURCE)
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET kernel32_apitest)
|
2017-01-06 18:48:15 +00:00
|
|
|
|
|
|
|
list(APPEND MANIFEST_FILES
|
|
|
|
classtest.manifest
|
2017-02-10 00:00:28 +00:00
|
|
|
classtest2.manifest
|
2017-01-06 18:48:15 +00:00
|
|
|
comctl32dep.manifest
|
|
|
|
dep1.manifest
|
|
|
|
deptest.manifest)
|
|
|
|
|
|
|
|
foreach(item ${MANIFEST_FILES})
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/${item}")
|
2017-01-06 18:48:15 +00:00
|
|
|
endforeach(item)
|