reactos/modules/rostests/winetests/shell32/CMakeLists.txt

42 lines
874 B
CMake

add_definitions(-DWINETEST_USE_DBGSTR_LONGLONG)
remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502)
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
precomp.h)
add_executable(shell32_winetest
${SOURCE}
testlist.c
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 SOURCE)
add_rostests_file(TARGET shell32_winetest)