2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
11 -DENTRY_PREFIX=OLEAUTPS_
12 -DPROXY_CLSID=CLSID_PSFactoryBuffer)
14 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
15 spec2def(oleaut32.dll oleaut32.spec ADD_IMPORTLIB)
16 add_rpcproxy_files(oleaut32_oaidl.idl oleaut32_ocidl.idl)
36 add_asm_files(oleaut32_asm msvc.S)
39 add_library(oleaut32 SHARED
43 ${CMAKE_CURRENT_BINARY_DIR}/oleaut32_stubs.c
44 ${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
45 ${CMAKE_CURRENT_BINARY_DIR}/oleaut32_oaidl_p.c
46 ${CMAKE_CURRENT_BINARY_DIR}/oleaut32_ocidl_p.c
47 ${CMAKE_CURRENT_BINARY_DIR}/oleaut32.def)
49 add_idl_headers(oleaut32_idlheader oleaut32_oaidl.idl)
50 add_dependencies(oleaut32 oleaut32_idlheader)
51 set_module_type(oleaut32 win32dll)
52 target_link_libraries(oleaut32 wine wineldr uuid ${PSEH_LIB})
53 add_delay_importlibs(oleaut32 comctl32 urlmon windowscodecs)
54 add_importlibs(oleaut32 ole32 rpcrt4 user32 gdi32 advapi32 kernel32_vista msvcrt kernel32 ntdll)
55 add_pch(oleaut32 precomp.h SOURCE)
56 add_cd_file(TARGET oleaut32 DESTINATION reactos/system32 FOR all)