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