[CMAKE]
[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 version.rc
43 ${CMAKE_CURRENT_BINARY_DIR}/quartz.def)
44
45 set_module_type(quartz win32dll)
46
47 target_link_libraries(quartz
48 ${CMAKE_CURRENT_BINARY_DIR}/quartz.def
49 quartz_proxy
50 strmiids
51 uuid
52 wine
53 pseh)
54
55 add_importlibs(quartz
56 msvcrt
57 advapi32
58 dsound
59 ole32
60 oleaut32
61 shlwapi
62 user32
63 gdi32
64 advapi32
65 msvfw32
66 msacm32
67 rpcrt4
68 kernel32
69 ntdll)
70
71
72 rpcproxy(quartz quartz_strmif.idl)
73 add_cab_target(quartz 1)