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