7 remove_definitions(-D_WIN32_WINNT=0x502)
8 add_definitions(-D_WIN32_WINNT=0x600)
10 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
11 spec2def(comctl32.dll comctl32.spec ADD_IMPORTLIB)
51 ${CMAKE_CURRENT_BINARY_DIR}/comctl32.def)
53 add_library(comctl32 SHARED ${SOURCE} rsrc.rc)
54 set_module_type(comctl32 win32dll UNICODE)
55 target_link_libraries(comctl32 uuid wine ${PSEH_LIB})
56 add_delay_importlibs(comctl32 winmm uxtheme)
57 add_importlibs(comctl32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
58 add_pch(comctl32 comctl32.h)
59 add_cd_file(TARGET comctl32 DESTINATION reactos/system32 FOR all)