e45cc97322d0a73aa867e4c422b4b3662987c2f7
[reactos.git] / dll / win32 / comctl32 / CMakeLists.txt
1
2 set_unicode()
3 set_rc_compiler()
4
5 add_definitions(
6 -D__WINESRC__
7 -D_WINE
8 -D_COMCTL32_)
9
10 remove_definitions(-D_WIN32_WINNT=0x502)
11 add_definitions(-D_WIN32_WINNT=0x600)
12
13 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
14
15 spec2def(comctl32.dll comctl32.spec)
16
17 list(APPEND SOURCE
18 animate.c
19 comboex.c
20 comctl32undoc.c
21 commctrl.c
22 datetime.c
23 dpa.c
24 draglist.c
25 dsa.c
26 flatsb.c
27 header.c
28 hotkey.c
29 imagelist.c
30 ipaddress.c
31 listview.c
32 monthcal.c
33 nativefont.c
34 pager.c
35 progress.c
36 propsheet.c
37 rebar.c
38 smoothscroll.c
39 status.c
40 string.c
41 syslink.c
42 tab.c
43 theme_button.c
44 theme_combo.c
45 theme_dialog.c
46 theme_edit.c
47 theme_listbox.c
48 theming.c
49 toolbar.c
50 tooltips.c
51 trackbar.c
52 treeview.c
53 updown.c
54 stubs.c
55 rsrc.rc
56 ${CMAKE_CURRENT_BINARY_DIR}/comctl32.def)
57
58 add_library(comctl32 SHARED ${SOURCE})
59
60 set_module_type(comctl32 win32dll)
61
62 target_link_libraries(comctl32 uuid wine)
63
64 add_importlibs(comctl32
65 user32
66 gdi32
67 advapi32
68 winmm
69 uxtheme
70 msvcrt
71 kernel32
72 ntdll)
73
74 add_cab_target(comctl32 1)
75 add_importlib_target(comctl32.spec)