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)
54 add_library(comctl32 SHARED
58 ${CMAKE_CURRENT_BINARY_DIR}/comctl32.def)
60 set_module_type(comctl32 win32dll UNICODE)
61 target_link_libraries(comctl32 uuid wine ${PSEH_LIB})
62 add_delay_importlibs(comctl32 winmm uxtheme)
63 add_importlibs(comctl32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
64 add_pch(comctl32 comctl32.h SOURCE)
65 add_cd_file(TARGET comctl32 DESTINATION reactos/system32 FOR all)