695b778ffc6d14a2ea5cc4a0d8da0fdbd737364c
[reactos.git] / dll / directx / wine / amstream / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -DWIDL_C_INLINE_WRAPPERS)
5
6 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
7 spec2def(amstream.dll amstream.spec)
8
9 list(APPEND SOURCE
10 amstream.c
11 audiodata.c
12 main.c
13 mediastream.c
14 mediastreamfilter.c
15 amstream_private.h)
16
17 add_library(amstream SHARED
18 ${SOURCE}
19 version.rc
20 ${CMAKE_CURRENT_BINARY_DIR}/amstream.def)
21
22 set_module_type(amstream win32dll)
23 target_link_libraries(amstream strmbase strmiids uuid wine)
24 add_importlibs(amstream ole32 ddraw user32 msvcrt kernel32 ntdll)
25 add_pch(amstream amstream_private.h SOURCE)
26 add_cd_file(TARGET amstream DESTINATION reactos/system32 FOR all)