1b9815eeb188d2883715bdaa80aa1b5fcf764337
[reactos.git] / dll / directx / quartz / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
4
5 add_definitions(
6 -D__WINESRC__
7 -DENTRY_PREFIX=QUARTZ_
8 -DREGISTER_PROXY_DLL
9 -DPROXY_DELEGATION
10 -D_DLL
11 -D__USE_CRTIMP)
12
13 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
14
15 spec2def(quartz.dll quartz.spec)
16
17 add_library(quartz SHARED
18 avidec.c
19 acmwrapper.c
20 waveparser.c
21 videorenderer.c
22 transform.c
23 systemclock.c
24 regsvr.c
25 pin.c
26 parser.c
27 nullrenderer.c
28 mpegsplit.c
29 memallocator.c
30 main.c
31 filtermapper.c
32 filtergraph.c
33 filesource.c
34 enumregfilters.c
35 enumpins.c
36 enummoniker.c
37 enumfilters.c
38 dsoundrender.c
39 enummedia.c
40 control.c
41 avisplit.c
42 stubs.c
43 version.rc
44 ${CMAKE_CURRENT_BINARY_DIR}/quartz.def)
45
46 set_module_type(quartz win32dll)
47
48 target_link_libraries(quartz
49 ${CMAKE_CURRENT_BINARY_DIR}/quartz.def
50 quartz_proxy
51 strmiids
52 uuid
53 wine
54 ${PSEH_LIB})
55
56 add_importlibs(quartz
57 msvcrt
58 advapi32
59 dsound
60 ole32
61 oleaut32
62 shlwapi
63 user32
64 gdi32
65 advapi32
66 msvfw32
67 msacm32
68 rpcrt4
69 kernel32
70 ntdll)
71
72
73 rpcproxy(quartz quartz_strmif.idl)
74 add_cab_target(quartz 1)