1add_subdirectory(makeimg)
2
3list(APPEND SOURCE
4    AttachThreadInput.c
5    ../include/msgtrace.c
6    CharFuncs.c
7    CloseWindow.c
8    CopyImage.c
9    CreateDialog.c
10    CreateIconFromResourceEx.c
11    CreateWindowEx.c
12    DeferWindowPos.c
13    DestroyCursorIcon.c
14    DM_REPOSITION.c
15    DrawIconEx.c
16    DrawText.c
17    desktop.c
18    EmptyClipboard.c
19    EnumDisplaySettings.c
20    GetClassInfo.c
21    GetDCEx.c
22    GetIconInfo.c
23    GetKeyState.c
24    GetMessageTime.c
25    GetPeekMessage.c
26    GetSetWindowInt.c
27    GetSystemMetrics.c
28    GetUserObjectInformation.c
29    GetWindowPlacement.c
30    GW_ENABLEDPOPUP.c
31    InitializeLpkHooks.c
32    KbdLayout.c
33    keybd_event.c
34    LoadImage.c
35    LoadImageGCC.c
36    LookupIconIdFromDirectoryEx.c
37    MessageStateAnalyzer.c
38    NextDlgItem.c
39    PrivateExtractIcons.c
40    RealGetWindowClass.c
41    RedrawWindow.c
42    RegisterClassEx.c
43    RegisterHotKey.c
44    ScrollBarRedraw.c
45    ScrollBarWndExtra.c
46    ScrollDC.c
47    ScrollWindowEx.c
48    SendMessageTimeout.c
49    SetActiveWindow.c
50    SetCursorPos.c
51    SetFocus.c
52    SetParent.c
53    SetProp.c
54    SetScrollInfo.c
55    SetScrollRange.c
56    SetWindowPlacement.c
57    ShowWindow.c
58    SwitchToThisWindow.c
59    SystemMenu.c
60    SystemParametersInfo.c
61    TrackMouseEvent.c
62    VirtualKey.c
63    WndProc.c
64    wsprintf.c)
65
66list(APPEND PCH_SKIP_SOURCE
67    testlist.c)
68
69add_executable(user32_apitest
70    ${SOURCE}
71    ${PCH_SKIP_SOURCE}
72    user32_apitest.rc)
73
74target_link_libraries(user32_apitest wine ${PSEH_LIB})
75set_module_type(user32_apitest win32cui)
76add_importlibs(user32_apitest advapi32 imm32 gdi32 user32 msvcrt kernel32 ntdll)
77add_pch(user32_apitest precomp.h "${PCH_SKIP_SOURCE}")
78add_rostests_file(TARGET user32_apitest)
79
80add_rostests_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/verclasstest1.manifest")
81add_rostests_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/verclasstest2.manifest")
82