2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
set_rc_compiler()
|
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-D_WINE
|
|
|
|
-D_COMCTL32_)
|
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(comctl32.dll comctl32.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
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
|
|
|
|
stubs.c
|
|
|
|
rsrc.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/comctl32.def)
|
|
|
|
|
|
|
|
add_library(comctl32 SHARED ${SOURCE})
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(comctl32 win32dll UNICODE)
|
2012-01-27 18:25:24 +00:00
|
|
|
target_link_libraries(comctl32 uuid wine ${PSEH_LIB})
|
2011-09-04 00:52:28 +00:00
|
|
|
add_delay_importlibs(comctl32 winmm uxtheme)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_importlibs(comctl32
|
|
|
|
user32
|
|
|
|
gdi32
|
|
|
|
advapi32
|
|
|
|
msvcrt
|
|
|
|
kernel32
|
|
|
|
ntdll)
|
|
|
|
|
2011-08-11 15:16:48 +00:00
|
|
|
add_pch(comctl32 comctl32.h)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET comctl32 DESTINATION reactos/system32 FOR all)
|
2012-03-07 21:21:27 +00:00
|
|
|
|