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