[USER32] Add support for navigating a group of radio buttons using a keyboard.
[reactos.git] / win32ss / user / user32 / CMakeLists.txt
1
2 spec2def(user32.dll user32.spec ADD_IMPORTLIB)
3
4 include_directories(
5 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/subsys
6 include
7 ${REACTOS_SOURCE_DIR}/win32ss/include)
8
9 list(APPEND SOURCE
10 controls/appswitch.c
11 controls/button.c
12 controls/combo.c
13 controls/edit.c
14 controls/ghost.c
15 controls/icontitle.c
16 controls/listbox.c
17 controls/regcontrol.c
18 controls/scrollbar.c
19 controls/static.c
20 misc/dde.c
21 misc/ddeclient.c
22 misc/ddemisc.c
23 misc/ddeserver.c
24 misc/desktop.c
25 misc/display.c
26 misc/dllmain.c
27 misc/exit.c
28 misc/exticon.c
29 misc/imm.c
30 misc/logon.c
31 misc/misc.c
32 misc/object.c
33 misc/resources.c
34 misc/rtlstr.c
35 misc/stubs.c
36 misc/timer.c
37 misc/usrapihk.c
38 misc/winhelp.c
39 misc/winsta.c
40 windows/accel.c
41 windows/caret.c
42 windows/class.c
43 windows/clipboard.c
44 windows/cursoricon.c
45 windows/dc.c
46 windows/defwnd.c
47 windows/dialog.c
48 windows/draw.c
49 windows/font.c
50 windows/hook.c
51 windows/input.c
52 windows/mdi.c
53 windows/menu.c
54 windows/messagebox.c
55 windows/message.c
56 windows/nonclient.c
57 windows/paint.c
58 windows/prop.c
59 windows/rect.c
60 windows/spy.c
61 windows/text.c
62 windows/window.c
63 windows/winpos.c
64 ${REACTOS_SOURCE_DIR}/win32ss/user/rtl/text.c
65 ${CMAKE_CURRENT_BINARY_DIR}/user32_stubs.c
66 include/user32.h)
67
68 if(ARCH STREQUAL "i386")
69 list(APPEND ASM_SOURCE
70 windows/wndproc_fixup.S)
71 endif()
72
73 add_asm_files(user32_asm ${ASM_SOURCE})
74
75 add_library(user32 SHARED
76 ${SOURCE}
77 ${user32_asm}
78 user32.rc
79 ${CMAKE_CURRENT_BINARY_DIR}/user32.def)
80
81 set_module_type(user32 win32dll ENTRYPOINT DllMain 12 UNICODE)
82 target_link_libraries(user32 user32_wsprintf wine win32ksys ${PSEH_LIB})
83 add_dependencies(user32 asm)
84
85 if(MSVC)
86 # for __ftol2_sse, float to int cast helper
87 target_link_libraries(user32 msvcrtex)
88 endif()
89
90 add_delay_importlibs(user32 imm32 usp10)
91 add_importlibs(user32 gdi32 advapi32 kernel32 ntdll)
92 add_pch(user32 include/user32.h SOURCE)
93 add_cd_file(TARGET user32 DESTINATION reactos/system32 FOR all)