2010-10-10 22:58:42 +00:00
|
|
|
|
|
|
|
set_unicode()
|
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
add_definitions(-D_WINE)
|
|
|
|
add_definitions(-D_COMCTL32_)
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
2010-10-14 17:40:25 +00:00
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
2010-10-10 22:58:42 +00:00
|
|
|
|
|
|
|
spec2def(comctl32 ${CMAKE_CURRENT_SOURCE_DIR}/comctl32.spec ${CMAKE_CURRENT_BINARY_DIR}/comctl32.def)
|
|
|
|
|
|
|
|
add_library(comctl32 SHARED
|
|
|
|
animate.c
|
|
|
|
comboex.c
|
|
|
|
comctl32undoc.c
|
|
|
|
commctrl.c
|
|
|
|
datetime.c
|
|
|
|
dpa.c
|
|
|
|
draglist.c
|
|
|
|
dsa.c
|
|
|
|
flatsb.c
|
|
|
|
header.c
|
|
|
|
hotkey.c
|
|
|
|
imagelist.c
|
|
|
|
ipaddress.c
|
|
|
|
listview.c
|
|
|
|
monthcal.c
|
|
|
|
nativefont.c
|
|
|
|
pager.c
|
|
|
|
progress.c
|
|
|
|
propsheet.c
|
|
|
|
rebar.c
|
|
|
|
smoothscroll.c
|
|
|
|
status.c
|
|
|
|
string.c
|
|
|
|
syslink.c
|
|
|
|
tab.c
|
|
|
|
theme_button.c
|
|
|
|
theme_combo.c
|
|
|
|
theme_dialog.c
|
|
|
|
theme_edit.c
|
|
|
|
theme_listbox.c
|
|
|
|
theming.c
|
|
|
|
toolbar.c
|
|
|
|
tooltips.c
|
|
|
|
trackbar.c
|
|
|
|
treeview.c
|
|
|
|
updown.c
|
|
|
|
rsrc.rc)
|
|
|
|
|
|
|
|
set_module_type(comctl32 win32dll)
|
|
|
|
|
|
|
|
target_link_libraries(comctl32
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/comctl32.def
|
|
|
|
uuid
|
|
|
|
wine)
|
|
|
|
|
|
|
|
add_importlibs(comctl32
|
|
|
|
user32
|
|
|
|
gdi32
|
|
|
|
advapi32
|
|
|
|
winmm
|
|
|
|
uxtheme
|
2010-10-14 17:40:25 +00:00
|
|
|
msvcrt
|
|
|
|
kernel32
|
2010-10-10 22:58:42 +00:00
|
|
|
ntdll)
|
|
|
|
|
|
|
|
add_dependencies(comctl32 comctl32_def)
|
2010-10-30 09:53:53 +00:00
|
|
|
add_cab_target(comctl32 1)
|