11
22add_definitions (
33 -D_WINE
4- -D__ROS_LONG64__
5- -D_COMCTL32_ )
4+ -D_COMCTL32_
5+ -D__WINE_COMCTL32_VERSION=5
6+ -D__WINE_COMCTL32_VERSION_MINOR=82 )
67
78remove_definitions (-D_WIN32_WINNT=0x502 -DWINVER=0x502 )
89add_definitions (-D_WIN32_WINNT=0x600 -DWINVER=0x600 )
@@ -15,22 +16,17 @@ endif()
1516
1617list (APPEND SOURCE
1718 animate.c
18- button.c
19- combo.c
2019 comboex.c
21- comctl32undoc.c
2220 commctrl.c
2321 datetime.c
2422 dpa.c
2523 draglist.c
2624 dsa.c
27- edit.c
2825 flatsb.c
2926 header.c
3027 hotkey.c
3128 imagelist.c
3229 ipaddress.c
33- listbox.c
3430 listview.c
3531 monthcal.c
3632 nativefont.c
@@ -39,14 +35,9 @@ list(APPEND SOURCE
3935 propsheet.c
4036 rebar.c
4137 smoothscroll.c
42- static.c
4338 status.c
4439 string.c
45- syslink.c
4640 tab.c
47- taskdialog.c
48- theme_scrollbar.c
49- theming.c
5041 toolbar.c
5142 tooltips.c
5243 trackbar.c
@@ -59,7 +50,7 @@ list(APPEND PCH_SKIP_SOURCE
5950add_library (comctl32 MODULE
6051 ${SOURCE}
6152 ${PCH_SKIP_SOURCE}
62- rsrc .rc
53+ comctl32 .rc
6354 ${CMAKE_CURRENT_BINARY_DIR } /comctl32.def )
6455
6556if (MSVC )
@@ -70,14 +61,12 @@ if(MSVC)
7061endif ()
7162
7263set_module_type (comctl32 win32dll UNICODE )
73- target_link_libraries (comctl32 uuid wine ${PSEH_LIB} oldnames )
74- add_delay_importlibs (comctl32 winmm uxtheme )
75- add_importlibs (comctl32 user32 gdi32 advapi32 usp10 imm32 msvcrt kernel32 ntdll )
64+ target_link_libraries (comctl32 uuid wine wine_dll_version ${PSEH_LIB} oldnames )
65+ add_delay_importlibs (comctl32 winmm )
66+ add_importlibs (comctl32 user32 gdi32 advapi32 usp10 imm32 msvcrt kernelbase_ros kernel32_vista ntdll )
7667add_pch (comctl32 precomp.h "${PCH_SKIP_SOURCE} " )
7768add_cd_file (TARGET comctl32 DESTINATION reactos/system32 FOR all )
7869
7970add_cd_file (TARGET comctl32 DESTINATION reactos/winsxs/${WINARCH}_microsoft.windows.common-controls_6595b64144ccf1df_5.82.2600.2982_none_deadbeef FOR all )
80- add_cd_file (TARGET comctl32 DESTINATION reactos/winsxs/${WINARCH}_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef FOR all )
8171add_cd_file (FILE ${CMAKE_CURRENT_SOURCE_DIR } /${WINARCH}_microsoft.windows.common-controls_6595b64144ccf1df_5.82.2600.2982_none_deadbeef.manifest DESTINATION reactos/winsxs/manifests FOR all )
82- add_cd_file (FILE ${CMAKE_CURRENT_SOURCE_DIR } /${WINARCH}_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest DESTINATION reactos/winsxs/manifests FOR all )
8372set_wine_module_FIXME (comctl32 ) # CORE-5743: No ARRAY_SIZE macro
0 commit comments