2010-08-13 16:36:38 +00:00
|
|
|
|
2010-10-08 21:34:25 +00:00
|
|
|
set_unicode()
|
2010-09-18 15:22:08 +00:00
|
|
|
|
2010-08-13 16:36:38 +00:00
|
|
|
add_definitions(-D_DLL -D__USE_CRTIMP)
|
|
|
|
|
2010-10-08 21:34:25 +00:00
|
|
|
include_directories(
|
|
|
|
BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine
|
|
|
|
${REACTOS_SOURCE_DIR}/include/reactos/subsys
|
|
|
|
include)
|
2010-08-13 16:36:38 +00:00
|
|
|
|
2010-09-27 09:14:54 +00:00
|
|
|
set_rc_compiler()
|
2010-08-13 16:36:38 +00:00
|
|
|
|
2010-09-27 09:14:54 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
controls/button.c
|
|
|
|
controls/combo.c
|
|
|
|
controls/edit.c
|
|
|
|
controls/icontitle.c
|
|
|
|
controls/listbox.c
|
|
|
|
controls/regcontrol.c
|
|
|
|
controls/scrollbar.c
|
|
|
|
controls/static.c
|
|
|
|
misc/dde.c
|
|
|
|
misc/ddeclient.c
|
|
|
|
misc/ddeserver.c
|
|
|
|
misc/desktop.c
|
|
|
|
misc/display.c
|
|
|
|
misc/dllmain.c
|
|
|
|
misc/exit.c
|
|
|
|
misc/exticon.c
|
|
|
|
misc/imm.c
|
|
|
|
misc/misc.c
|
|
|
|
misc/object.c
|
|
|
|
misc/resources.c
|
|
|
|
misc/rtlstr.c
|
|
|
|
misc/stubs.c
|
|
|
|
misc/timer.c
|
|
|
|
misc/usrapihk.c
|
|
|
|
misc/winhelp.c
|
|
|
|
misc/winsta.c
|
|
|
|
misc/wsprintf.c
|
|
|
|
windows/accel.c
|
|
|
|
windows/caret.c
|
|
|
|
windows/class.c
|
|
|
|
windows/clipboard.c
|
|
|
|
windows/cursoricon.c
|
|
|
|
windows/dc.c
|
|
|
|
windows/defwnd.c
|
|
|
|
windows/dialog.c
|
|
|
|
windows/draw.c
|
|
|
|
windows/font.c
|
|
|
|
windows/hook.c
|
|
|
|
windows/input.c
|
|
|
|
windows/mdi.c
|
|
|
|
windows/menu.c
|
|
|
|
windows/messagebox.c
|
|
|
|
windows/message.c
|
|
|
|
windows/nonclient.c
|
|
|
|
windows/paint.c
|
|
|
|
windows/prop.c
|
|
|
|
windows/rect.c
|
|
|
|
windows/spy.c
|
|
|
|
windows/text.c
|
|
|
|
windows/window.c
|
2010-10-08 21:34:25 +00:00
|
|
|
windows/winpos.c
|
|
|
|
user32_stubs.c
|
|
|
|
user32.rc)
|
2010-08-13 16:36:38 +00:00
|
|
|
|
|
|
|
add_library(user32 SHARED
|
2010-10-08 21:34:25 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/user32_user32.h.gch
|
|
|
|
${SOURCE})
|
2010-08-13 16:36:38 +00:00
|
|
|
|
2010-10-08 21:34:25 +00:00
|
|
|
set_module_type(user32 win32dll)
|
2010-08-13 16:36:38 +00:00
|
|
|
|
|
|
|
target_link_libraries(user32
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/user32.def
|
2010-08-14 10:34:01 +00:00
|
|
|
wine
|
2010-08-13 16:36:38 +00:00
|
|
|
win32ksys
|
2010-10-08 21:34:25 +00:00
|
|
|
pseh)
|
2010-08-13 16:36:38 +00:00
|
|
|
|
|
|
|
add_pch(user32 ${CMAKE_CURRENT_SOURCE_DIR}/include/user32.h ${SOURCE})
|
2010-10-08 21:34:25 +00:00
|
|
|
add_importlibs(user32 gdi32 advapi32 imm32 kernel32 ntdll)
|