2010-12-07 11:40:10 +00:00
|
|
|
|
2014-02-14 11:45:35 +00:00
|
|
|
add_definitions(-DUSE_WINE_TODOS)
|
|
|
|
|
2010-12-07 11:40:10 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
clipboard.c
|
|
|
|
compobj.c
|
|
|
|
defaulthandler.c
|
|
|
|
dragdrop.c
|
|
|
|
errorinfo.c
|
|
|
|
hglobalstream.c
|
|
|
|
marshal.c
|
|
|
|
moniker.c
|
|
|
|
ole2.c
|
2013-09-26 13:58:28 +00:00
|
|
|
ole_server.c
|
2010-12-07 11:40:10 +00:00
|
|
|
propvariant.c
|
|
|
|
stg_prop.c
|
|
|
|
storage32.c
|
2020-05-09 21:37:40 +00:00
|
|
|
usrmarshal.c)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
testlist.c)
|
|
|
|
|
|
|
|
add_executable(ole32_winetest
|
|
|
|
${SOURCE}
|
|
|
|
${PCH_SKIP_SOURCE})
|
2010-12-07 11:40:10 +00:00
|
|
|
|
2013-09-26 13:58:28 +00:00
|
|
|
target_link_libraries(ole32_winetest uuid)
|
2010-12-07 11:40:10 +00:00
|
|
|
set_module_type(ole32_winetest win32cui)
|
2013-09-26 13:58:28 +00:00
|
|
|
add_importlibs(ole32_winetest oleaut32 ole32 user32 gdi32 advapi32 msvcrt kernel32)
|
2015-07-19 23:12:15 +00:00
|
|
|
|
|
|
|
if(MSVC)
|
|
|
|
add_importlibs(ole32_winetest ntdll)
|
2021-04-09 00:58:19 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
2020-10-15 09:53:11 +00:00
|
|
|
target_compile_options(ole32_winetest PRIVATE -Wno-format-overflow)
|
2015-07-19 23:12:15 +00:00
|
|
|
endif()
|
|
|
|
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(ole32_winetest precomp.h "${PCH_SKIP_SOURCE}")
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET ole32_winetest)
|