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