2011-05-16 13:12:07 +00:00
|
|
|
|
2015-11-24 12:33:33 +00:00
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-DENTRY_PREFIX=QUARTZ_
|
2013-06-20 12:07:29 +00:00
|
|
|
-DWINE_REGISTER_DLL
|
2011-06-13 15:31:11 +00:00
|
|
|
-DPROXY_DELEGATION)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
spec2def(quartz.dll quartz.spec)
|
|
|
|
add_rpcproxy_files(quartz_strmif.idl)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
acmwrapper.c
|
2013-06-20 12:07:29 +00:00
|
|
|
avidec.c
|
|
|
|
avisplit.c
|
2011-05-16 13:12:07 +00:00
|
|
|
dsoundrender.c
|
2013-06-20 12:07:29 +00:00
|
|
|
enumfilters.c
|
2011-05-16 13:12:07 +00:00
|
|
|
enummedia.c
|
2013-06-20 12:07:29 +00:00
|
|
|
enummoniker.c
|
|
|
|
enumregfilters.c
|
|
|
|
filesource.c
|
|
|
|
filtergraph.c
|
|
|
|
filtermapper.c
|
|
|
|
main.c
|
|
|
|
memallocator.c
|
|
|
|
mpegsplit.c
|
|
|
|
nullrenderer.c
|
|
|
|
parser.c
|
|
|
|
pin.c
|
|
|
|
regsvr.c
|
|
|
|
systemclock.c
|
|
|
|
videorenderer.c
|
|
|
|
vmr9.c
|
|
|
|
waveparser.c
|
2018-05-21 15:14:08 +00:00
|
|
|
quartz_private.h)
|
2014-02-09 23:29:31 +00:00
|
|
|
|
|
|
|
add_library(quartz SHARED
|
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/quartz_strmif_p.c
|
2014-02-09 23:29:31 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/quartz.def
|
|
|
|
version.rc)
|
2013-06-20 12:07:29 +00:00
|
|
|
|
|
|
|
add_idl_headers(quartz_idlheader fil_data.idl)
|
|
|
|
add_typelib(control_tlb.idl)
|
|
|
|
|
|
|
|
list(APPEND quartz_rc_deps
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/control_tlb.tlb
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/control_tlb.rgs
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/quartz_strmif.rgs)
|
|
|
|
|
|
|
|
set_source_files_properties(version.rc PROPERTIES OBJECT_DEPENDS "${quartz_rc_deps}")
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(quartz win32dll)
|
2013-06-20 12:07:29 +00:00
|
|
|
target_link_libraries(quartz strmbase strmiids uuid dxguid wine ${PSEH_LIB})
|
2015-11-24 12:33:33 +00:00
|
|
|
add_importlibs(quartz dsound msacm32 msvfw32 ole32 oleaut32 rpcrt4 user32 gdi32 advapi32 advapi32_vista shlwapi msvcrt kernel32 ntdll)
|
2013-06-20 12:07:29 +00:00
|
|
|
add_dependencies(quartz dxsdk quartz_idlheader stdole2)
|
2018-05-21 15:14:08 +00:00
|
|
|
add_pch(quartz quartz_private.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET quartz DESTINATION reactos/system32 FOR all)
|