[COMCTL32] Install comctl32 v6 and its manifest in first stage
[reactos.git] / dll / win32 / comctl32 / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D_WINE
5 -D_COMCTL32_)
6
7 remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)
8 add_definitions(-D_WIN32_WINNT=0x600 -DWINVER=0x600)
9
10 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
11 spec2def(comctl32.dll comctl32.spec ADD_IMPORTLIB)
12
13 list(APPEND SOURCE
14 animate.c
15 button.c
16 comboex.c
17 comctl32undoc.c
18 commctrl.c
19 datetime.c
20 dpa.c
21 draglist.c
22 dsa.c
23 flatsb.c
24 header.c
25 hotkey.c
26 imagelist.c
27 ipaddress.c
28 listview.c
29 monthcal.c
30 nativefont.c
31 pager.c
32 progress.c
33 propsheet.c
34 rebar.c
35 smoothscroll.c
36 status.c
37 string.c
38 syslink.c
39 tab.c
40 taskdialog.c
41 theme_button.c
42 theme_combo.c
43 theme_dialog.c
44 theme_edit.c
45 theme_listbox.c
46 theme_scrollbar.c
47 theming.c
48 toolbar.c
49 tooltips.c
50 trackbar.c
51 treeview.c
52 updown.c
53 comctl32.h)
54
55 add_library(comctl32 SHARED
56 ${SOURCE}
57 stubs.c
58 rsrc.rc
59 ${CMAKE_CURRENT_BINARY_DIR}/comctl32.def)
60
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(TARGET comctl32 DESTINATION reactos/winsxs/x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.2600.2982_none_deadbeef FOR all)
68 add_cd_file(TARGET comctl32 DESTINATION reactos/winsxs/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef FOR all)
69 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)
70 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)