[CMAKE]
[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 add_definitions(-D_DLL -D__USE_CRTIMP)
10 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
11
12 spec2def(comctl32 ${CMAKE_CURRENT_SOURCE_DIR}/comctl32.spec ${CMAKE_CURRENT_BINARY_DIR}/comctl32.def)
13
14 add_library(comctl32 SHARED
15 animate.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 theme_button.c
41 theme_combo.c
42 theme_dialog.c
43 theme_edit.c
44 theme_listbox.c
45 theming.c
46 toolbar.c
47 tooltips.c
48 trackbar.c
49 treeview.c
50 updown.c
51 rsrc.rc)
52
53 set_module_type(comctl32 win32dll)
54
55 target_link_libraries(comctl32
56 ${CMAKE_CURRENT_BINARY_DIR}/comctl32.def
57 uuid
58 wine)
59
60 add_importlibs(comctl32
61 user32
62 gdi32
63 advapi32
64 winmm
65 uxtheme
66 ntdll)
67
68 add_dependencies(comctl32 comctl32_def)