mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 05:43:30 +00:00
ca768add12
- Remove exports for IsProcess16Bit and IsSETEnabled - Redirect CalcMenuBar, PaintMenuBar and SetConsoleReserveKeys to NtUser* - Implement stubs for BuildReasonArray, CreateSystemThreads, DestroyReasons, DeviceEventWorker, GetCursorFrameInfo, GetReasonTitleFromReasonCode, RecordShutdownReason, UserLpkPSMTextOut, UserLpkTabbedTextOut, Win32PoolAllocationStats - Remove implementations of SetCursor, ClipCursor, GetClipCursor and HiliteMenuItem - Remove auto stub file from sources - Fix resource include path svn path=/branches/cmake-bringup/; revision=50590
84 lines
1.7 KiB
CMake
84 lines
1.7 KiB
CMake
|
|
set_unicode()
|
|
|
|
spec2def(user32.dll user32.spec)
|
|
|
|
add_definitions(-D_DLL -D__USE_CRTIMP)
|
|
|
|
include_directories(
|
|
BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine
|
|
${REACTOS_SOURCE_DIR}/include/reactos/subsys
|
|
include)
|
|
|
|
set_rc_compiler()
|
|
|
|
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
|
|
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
|
|
windows/winpos.c
|
|
user32.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/user32.def)
|
|
|
|
add_library(user32 SHARED
|
|
${CMAKE_CURRENT_BINARY_DIR}/user32_user32.h.gch
|
|
${SOURCE})
|
|
|
|
set_module_type(user32 win32dll)
|
|
|
|
target_link_libraries(user32
|
|
user32_wsprintf
|
|
wine
|
|
win32ksys
|
|
${PSEH_LIB})
|
|
|
|
add_pch(user32 ${CMAKE_CURRENT_SOURCE_DIR}/include/user32.h ${SOURCE})
|
|
add_importlibs(user32 gdi32 advapi32 imm32 msvcrt kernel32 ntdll)
|
|
add_cab_target(user32 1)
|
|
add_importlib_target(user32.spec)
|