2010-12-07 09:27:10 +00:00
|
|
|
|
2012-05-05 16:54:37 +00:00
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502 -D_WIN32_IE=0x600)
|
2010-12-07 09:27:10 +00:00
|
|
|
|
2018-01-18 22:49:50 +00:00
|
|
|
add_definitions(-DUSE_WINE_TODOS -DWINETEST_USE_DBGSTR_LONGLONG)
|
2010-12-07 09:27:10 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2016-06-05 18:56:37 +00:00
|
|
|
animate.c
|
2018-01-18 22:49:50 +00:00
|
|
|
combo.c
|
2010-12-07 09:27:10 +00:00
|
|
|
datetime.c
|
|
|
|
dpa.c
|
2018-01-18 22:49:50 +00:00
|
|
|
edit.c
|
2010-12-07 09:27:10 +00:00
|
|
|
header.c
|
|
|
|
imagelist.c
|
|
|
|
ipaddress.c
|
2018-01-18 22:49:50 +00:00
|
|
|
listbox.c
|
2010-12-07 09:27:10 +00:00
|
|
|
listview.c
|
|
|
|
misc.c
|
|
|
|
monthcal.c
|
|
|
|
mru.c
|
2012-12-14 23:24:10 +00:00
|
|
|
pager.c
|
2010-12-07 09:27:10 +00:00
|
|
|
progress.c
|
|
|
|
propsheet.c
|
|
|
|
rebar.c
|
2018-01-18 22:49:50 +00:00
|
|
|
static.c
|
2010-12-07 09:27:10 +00:00
|
|
|
status.c
|
2012-12-14 23:24:10 +00:00
|
|
|
syslink.c
|
2010-12-07 09:27:10 +00:00
|
|
|
tab.c
|
2017-06-04 12:53:30 +00:00
|
|
|
taskdialog.c
|
2010-12-07 09:27:10 +00:00
|
|
|
toolbar.c
|
|
|
|
tooltips.c
|
|
|
|
trackbar.c
|
|
|
|
treeview.c
|
2020-05-09 21:37:40 +00:00
|
|
|
updown.c)
|
2012-03-12 13:34:01 +00:00
|
|
|
|
2020-05-09 21:37:40 +00:00
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
2017-12-17 12:40:43 +00:00
|
|
|
button.c
|
|
|
|
subclass.c
|
2020-05-09 21:37:40 +00:00
|
|
|
testlist.c)
|
|
|
|
|
|
|
|
add_executable(comctl32_winetest
|
|
|
|
${SOURCE}
|
|
|
|
${PCH_SKIP_SOURCE}
|
2017-12-17 12:40:43 +00:00
|
|
|
rsrc.rc)
|
2017-12-03 22:30:10 +00:00
|
|
|
|
2018-10-05 16:49:17 +00:00
|
|
|
if(MSVC AND ARCH STREQUAL "amd64")
|
|
|
|
# warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
|
|
|
|
target_compile_options(comctl32_winetest PRIVATE /wd4334)
|
|
|
|
endif()
|
|
|
|
|
2024-10-14 21:14:56 +00:00
|
|
|
if(MSVC)
|
|
|
|
# warning C4045: 'large_truncated_80_w': array bounds overflow
|
|
|
|
target_compile_options(comctl32_winetest PRIVATE /wd4045)
|
|
|
|
endif()
|
|
|
|
|
2020-09-18 09:49:18 +00:00
|
|
|
target_compile_options(comctl32_winetest PRIVATE $<$<NOT:$<C_COMPILER_ID:MSVC>>:-Wno-format>)
|
2017-12-03 22:30:10 +00:00
|
|
|
|
2013-09-14 20:07:14 +00:00
|
|
|
set_module_type(comctl32_winetest win32cui)
|
|
|
|
add_importlibs(comctl32_winetest comctl32 ole32 user32 gdi32 advapi32 msvcrt kernel32)
|
2018-01-18 22:49:50 +00:00
|
|
|
|
|
|
|
if(MSVC)
|
|
|
|
add_importlibs(comctl32_winetest ntdll)
|
|
|
|
endif()
|
|
|
|
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(comctl32_winetest precomp.h "${PCH_SKIP_SOURCE}")
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET comctl32_winetest)
|