[CMAKE]
[reactos.git] / rostests / winetests / oleaut32 / CMakeLists.txt
1
2 add_definitions(
3 -D__ROS_LONG64__
4 -D_DLL -D__USE_CRTIMP)
5
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 ADD_TYPELIB(oleaut32_typelibs test_reg.idl test_tlb.idl tmarshal.idl)
9 add_dependencies(oleaut32_typelibs stdole2)
10
11 ADD_INTERFACE_DEFINITIONS(oleaut32_idlheaders test_reg.idl tmarshal.idl)
12 add_idl_interface(tmarshal.idl)
13
14 list(APPEND SOURCE
15 dispatch.c
16 olefont.c
17 olepicture.c
18 safearray.c
19 testlist.c
20 tmarshal.c
21 tmarshal.rc
22 typelib.c
23 usrmarshal.c
24 varformat.c
25 vartest.c
26 vartype.c
27 ${CMAKE_CURRENT_BINARY_DIR}/tmarshal_i.c)
28
29 add_executable(oleaut32_winetest ${SOURCE})
30 target_link_libraries(oleaut32_winetest uuid wine)
31 set_module_type(oleaut32_winetest win32cui)
32 add_importlibs(oleaut32_winetest oleaut32 ole32 rpcrt4 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
33 add_dependencies(oleaut32_winetest oleaut32_typelibs oleaut32_idlheaders)