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)
55 add_library(comctl32 SHARED
59 ${CMAKE_CURRENT_BINARY_DIR}/comctl32.def)
61 set_module_type(comctl32 win32dll UNICODE)
62 target_link_libraries(comctl32 uuid wine ${PSEH_LIB})
63 add_delay_importlibs(comctl32 winmm uxtheme)
64 add_importlibs(comctl32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
65 add_pch(comctl32 comctl32.h SOURCE)
66 add_cd_file(TARGET comctl32 DESTINATION reactos/system32 FOR all)
67 add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/comctl32v5.manifest DESTINATION reactos/winsxs/manifests NAME_ON_CD x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.2600.2982_none_deadbeef.manifest FOR livecd)
68 add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/comctl32.manifest DESTINATION reactos/winsxs/manifests NAME_ON_CD x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest FOR livecd)