Sync with trunk.
[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)
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 theming.c
45 toolbar.c
46 tooltips.c
47 trackbar.c
48 treeview.c
49 updown.c
50 stubs.c
51 rsrc.rc
52 ${CMAKE_CURRENT_BINARY_DIR}/comctl32.def)
53
54 add_library(comctl32 SHARED ${SOURCE})
55 set_module_type(comctl32 win32dll UNICODE)
56 target_link_libraries(comctl32 uuid wine ${PSEH_LIB})
57 add_delay_importlibs(comctl32 winmm uxtheme)
58
59 add_importlibs(comctl32
60 user32
61 gdi32
62 advapi32
63 msvcrt
64 kernel32
65 ntdll)
66
67 add_pch(comctl32 comctl32.h)
68 add_cd_file(TARGET comctl32 DESTINATION reactos/system32 FOR all)