Sync to trunk revision 61757.
[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 ${CMAKE_CURRENT_BINARY_DIR}/comctl32.def)
52
53 add_library(comctl32 SHARED ${SOURCE} rsrc.rc)
54 set_module_type(comctl32 win32dll UNICODE)
55 target_link_libraries(comctl32 uuid wine ${PSEH_LIB})
56 add_delay_importlibs(comctl32 winmm uxtheme)
57 add_importlibs(comctl32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
58 add_pch(comctl32 comctl32.h)
59 add_cd_file(TARGET comctl32 DESTINATION reactos/system32 FOR all)