[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 rpcproxy(quartz quartz_strmif.idl)
18
19 list(APPEND SOURCE
20 avidec.c
21 acmwrapper.c
22 waveparser.c
23 videorenderer.c
24 transform.c
25 systemclock.c
26 regsvr.c
27 pin.c
28 parser.c
29 nullrenderer.c
30 mpegsplit.c
31 memallocator.c
32 main.c
33 filtermapper.c
34 filtergraph.c
35 filesource.c
36 enumregfilters.c
37 enumpins.c
38 enummoniker.c
39 enumfilters.c
40 dsoundrender.c
41 enummedia.c
42 control.c
43 avisplit.c
44 version.rc
45 ${CMAKE_CURRENT_BINARY_DIR}/quartz.def)
46
47 add_library(quartz SHARED ${SOURCE})
48
49 set_module_type(quartz win32dll)
50
51 target_link_libraries(quartz
52 strmiids
53 uuid
54 wine
55 ${PSEH_LIB})
56
57 add_importlibs(quartz
58 msvcrt
59 advapi32
60 dsound
61 ole32
62 oleaut32
63 shlwapi
64 user32
65 gdi32
66 advapi32
67 msvfw32
68 msacm32
69 rpcrt4
70 kernel32
71 ntdll)
72
73 add_cab_target(quartz 1)