[COMCTL32] Sync with Wine Staging 1.7.55. CORE-10536
[reactos.git] / reactos / 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)
8 add_definitions(-D_WIN32_WINNT=0x600)
9
10 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
11 spec2def(comctl32.dll comctl32.spec ADD_IMPORTLIB)
12
13 list(APPEND SOURCE
14 animate.c
15 comboex.c
16 comctl32undoc.c
17 commctrl.c
18 datetime.c
19 dpa.c
20 draglist.c
21 dsa.c
22 flatsb.c
23 header.c
24 hotkey.c
25 imagelist.c
26 ipaddress.c
27 listview.c
28 monthcal.c
29 nativefont.c
30 pager.c
31 progress.c
32 propsheet.c
33 rebar.c
34 smoothscroll.c
35 status.c
36 string.c
37 syslink.c
38 tab.c
39 theme_button.c
40 theme_combo.c
41 theme_dialog.c
42 theme_edit.c
43 theme_listbox.c
44 theme_scrollbar.c
45 theming.c
46 toolbar.c
47 tooltips.c
48 trackbar.c
49 treeview.c
50 updown.c
51 comctl32.h)
52
53 add_library(comctl32 SHARED
54 ${SOURCE}
55 stubs.c
56 rsrc.rc
57 ${CMAKE_CURRENT_BINARY_DIR}/comctl32.def)
58
59 set_module_type(comctl32 win32dll UNICODE)
60 target_link_libraries(comctl32 uuid wine ${PSEH_LIB})
61 add_delay_importlibs(comctl32 winmm uxtheme)
62 add_importlibs(comctl32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
63 add_pch(comctl32 comctl32.h SOURCE)
64 add_cd_file(TARGET comctl32 DESTINATION reactos/system32 FOR all)