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