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