[OLE32_WINETEST] Add a PCH.
[reactos.git] / modules / rostests / winetests / ole32 / CMakeLists.txt
1
2 add_definitions(-DUSE_WINE_TODOS)
3
4 list(APPEND SOURCE
5 clipboard.c
6 compobj.c
7 defaulthandler.c
8 dragdrop.c
9 errorinfo.c
10 hglobalstream.c
11 marshal.c
12 moniker.c
13 ole2.c
14 ole_server.c
15 propvariant.c
16 stg_prop.c
17 storage32.c
18 usrmarshal.c
19 precomp.h)
20
21 add_executable(ole32_winetest ${SOURCE} testlist.c)
22 target_link_libraries(ole32_winetest uuid)
23 set_module_type(ole32_winetest win32cui)
24 add_importlibs(ole32_winetest oleaut32 ole32 user32 gdi32 advapi32 msvcrt kernel32)
25
26 if(MSVC)
27 add_importlibs(ole32_winetest ntdll)
28 endif()
29
30 add_pch(ole32_winetest precomp.h SOURCE)
31 add_rostests_file(TARGET ole32_winetest)