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