reactos/modules/rostests/winetests/shell32/CMakeLists.txt
Serge Gautherie aae5cd8ea2
[CMAKE] Remove obsolete 'GCC_VERSION' checks (#2962)
following upgrade to RosBE 2.2.0 support and GCC 8.4.
2020-07-04 15:33:50 +02:00

49 lines
990 B
CMake

add_definitions(-DWINETEST_USE_DBGSTR_LONGLONG)
remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502)
if(GCC)
add_compile_flags("-Wno-format-overflow")
endif()
list(APPEND SOURCE
appbar.c
assoc.c
autocomplete.c
brsfolder.c
ebrowser.c
generated.c
progman_dde.c
recyclebin.c
shelldispatch.c
shelllink.c
shellole.c
shellpath.c
shfldr_special.c
shlexec.c
shlfileop.c
shlfolder.c
shlview.c
string.c
systray.c)
list(APPEND PCH_SKIP_SOURCE
testlist.c)
add_executable(shell32_winetest
${SOURCE}
${PCH_SKIP_SOURCE}
rsrc.rc)
target_link_libraries(shell32_winetest uuid)
set_module_type(shell32_winetest win32cui)
add_importlibs(shell32_winetest shell32 shlwapi ole32 oleaut32 user32 gdi32 advapi32 msvcrt kernel32)
if(MSVC)
add_importlibs(shell32_winetest ntdll)
endif()
add_pch(shell32_winetest precomp.h "${PCH_SKIP_SOURCE}")
add_rostests_file(TARGET shell32_winetest)