7 remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)
8 add_definitions(-D_WIN32_WINNT=0x600 -DWINVER=0x600)
10 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
11 spec2def(comctl32.dll comctl32.spec ADD_IMPORTLIB)
14 # Disable warning C4477 (printf format warnings)
15 add_compile_flags("/wd4477")
59 add_library(comctl32 MODULE
63 ${CMAKE_CURRENT_BINARY_DIR}/comctl32.def)
65 set_module_type(comctl32 win32dll UNICODE)
66 target_link_libraries(comctl32 uuid wine ${PSEH_LIB})
67 add_delay_importlibs(comctl32 winmm uxtheme)
68 add_importlibs(comctl32 user32 gdi32 advapi32 usp10 imm32 msvcrt kernel32 ntdll)
69 add_pch(comctl32 precomp.h SOURCE)
70 add_cd_file(TARGET comctl32 DESTINATION reactos/system32 FOR all)
71 add_cd_file(TARGET comctl32 DESTINATION reactos/winsxs/x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.2600.2982_none_deadbeef FOR all)
72 add_cd_file(TARGET comctl32 DESTINATION reactos/winsxs/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef FOR all)
73 add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.2600.2982_none_deadbeef.manifest DESTINATION reactos/winsxs/manifests FOR all)
74 add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest DESTINATION reactos/winsxs/manifests FOR all)