cfaaa1e8f4d034438cae8f4bb343067b075fdbf6
[reactos.git] / dll / directx / amstream / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
6
7 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
8
9 spec2def(amstream.dll amstream.spec)
10
11 add_library(amstream SHARED
12 amstream.c
13 main.c
14 mediastream.c
15 mediastreamfilter.c
16 regsvr.c
17 amstream_i.c
18 version.rc
19 ${CMAKE_CURRENT_BINARY_DIR}/amstream.def)
20
21 set_module_type(amstream win32dll)
22
23 target_link_libraries(amstream
24 strmiids
25 uuid
26 wine)
27
28 add_importlibs(amstream
29 ole32
30 advapi32
31 msvcrt
32 kernel32
33 ntdll)
34
35 add_dependencies(amstream dxsdk)
36 add_cab_target(amstream 1)