2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
11 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
12 spec2def(quartz.dll quartz.spec)
13 add_rpcproxy_files(quartz_strmif.idl)
38 ${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
39 ${CMAKE_CURRENT_BINARY_DIR}/quartz_strmif_p.c
40 ${CMAKE_CURRENT_BINARY_DIR}/quartz.def)
42 add_library(quartz SHARED ${SOURCE} version.rc)
44 add_idl_headers(quartz_idlheader fil_data.idl)
46 add_typelib(control_tlb.idl)
48 list(APPEND quartz_rc_deps
49 ${CMAKE_CURRENT_BINARY_DIR}/control_tlb.tlb
50 ${CMAKE_CURRENT_SOURCE_DIR}/control_tlb.rgs
51 ${CMAKE_CURRENT_SOURCE_DIR}/quartz_strmif.rgs)
53 set_source_files_properties(version.rc PROPERTIES OBJECT_DEPENDS "${quartz_rc_deps}")
55 set_module_type(quartz win32dll)
56 target_link_libraries(quartz strmbase strmiids uuid dxguid wine ${PSEH_LIB})
57 add_importlibs(quartz dsound msacm32 msvfw32 ole32 oleaut32 shlwapi rpcrt4 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
58 add_dependencies(quartz dxsdk quartz_idlheader stdole2)
59 add_pch(quartz quartz_private.h)
60 add_cd_file(TARGET quartz DESTINATION reactos/system32 FOR all)