reactos/modules/rostests/winetests/comctl32/CMakeLists.txt
Jérôme Gardou 7e116f0ef3 [CMAKE] Get rid of replace_compile_flags
Introduce a finer-grained remove_target_compile_option instead
2020-10-20 21:44:54 +02:00

56 lines
1 KiB
CMake

remove_definitions(-D_WIN32_WINNT=0x502 -D_WIN32_IE=0x600)
add_definitions(-DUSE_WINE_TODOS -DWINETEST_USE_DBGSTR_LONGLONG)
list(APPEND SOURCE
animate.c
combo.c
datetime.c
dpa.c
edit.c
header.c
imagelist.c
ipaddress.c
listbox.c
listview.c
misc.c
monthcal.c
mru.c
pager.c
progress.c
propsheet.c
rebar.c
static.c
status.c
syslink.c
tab.c
taskdialog.c
toolbar.c
tooltips.c
trackbar.c
treeview.c
updown.c)
list(APPEND PCH_SKIP_SOURCE
button.c
subclass.c
testlist.c)
add_executable(comctl32_winetest
${SOURCE}
${PCH_SKIP_SOURCE}
rsrc.rc)
target_compile_options(comctl32_winetest PRIVATE $<$<NOT:$<C_COMPILER_ID:MSVC>>:-Wno-format>)
set_module_type(comctl32_winetest win32cui)
add_importlibs(comctl32_winetest comctl32 ole32 user32 gdi32 advapi32 msvcrt kernel32)
if(MSVC)
add_importlibs(comctl32_winetest ntdll)
endif()
add_pch(comctl32_winetest precomp.h "${PCH_SKIP_SOURCE}")
add_rostests_file(TARGET comctl32_winetest)