2 spec2def(user32.dll user32.spec ADD_IMPORTLIB)
5 ${REACTOS_SOURCE_DIR}/include/reactos/subsys
7 ${REACTOS_SOURCE_DIR}/win32ss/include)
42 # windows/cursoricon.c
62 ${CMAKE_CURRENT_BINARY_DIR}/user32_stubs.c
65 if(USE_NEW_CURSORICON)
66 list(APPEND SOURCE windows/cursoricon_new.c)
68 list(APPEND SOURCE windows/cursoricon.c)
71 add_library(user32 SHARED
74 ${CMAKE_CURRENT_BINARY_DIR}/user32.def)
76 set_module_type(user32 win32dll ENTRYPOINT DllMain 12 UNICODE HOTPATCHABLE)
77 target_link_libraries(user32 user32_wsprintf wine win32ksys ${PSEH_LIB})
80 # for __ftol2_sse, float to int cast helper
81 target_link_libraries(user32 msvcrtex)
84 add_delay_importlibs(user32 imm32 usp10)
85 add_importlibs(user32 gdi32 advapi32 kernel32 ntdll)
86 add_pch(user32 include/user32.h SOURCE)
87 add_cd_file(TARGET user32 DESTINATION reactos/system32 FOR all)