5aa3c044278b40c38c81d903ea4f46b9ab1bf8e1
[reactos.git] / dll / win32 / comctl32 / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-D__WINESRC__)
5 add_definitions(-D_WINE)
6 add_definitions(-D_COMCTL32_)
7 remove_definitions(-D_WIN32_WINNT=0x502)
8 add_definitions(-D_WIN32_WINNT=0x600)
9 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
10
11 spec2def(comctl32.dll comctl32.spec)
12
13 add_library(comctl32 SHARED
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 theming.c
45 toolbar.c
46 tooltips.c
47 trackbar.c
48 treeview.c
49 updown.c
50 rsrc.rc
51 ${CMAKE_CURRENT_BINARY_DIR}/comctl32.def)
52
53 set_module_type(comctl32 win32dll)
54
55 target_link_libraries(comctl32
56 uuid
57 wine)
58
59 add_importlibs(comctl32
60 user32
61 gdi32
62 advapi32
63 winmm
64 uxtheme
65 msvcrt
66 kernel32
67 ntdll)
68
69 add_cab_target(comctl32 1)
70 add_importlib_target(comctl32.spec)