2011-05-16 13:12:07 +00:00
|
|
|
|
2013-10-01 15:06:37 +00:00
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-DWIDL_C_INLINE_WRAPPERS)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(amstream.dll amstream.spec)
|
|
|
|
|
2013-10-01 15:06:37 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
amstream.c
|
2013-10-01 15:06:37 +00:00
|
|
|
audiodata.c
|
2011-05-16 13:12:07 +00:00
|
|
|
main.c
|
|
|
|
mediastream.c
|
|
|
|
mediastreamfilter.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/amstream.def)
|
|
|
|
|
2013-10-01 15:06:37 +00:00
|
|
|
add_library(amstream SHARED ${SOURCE} version.rc)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(amstream win32dll)
|
2013-10-01 15:06:37 +00:00
|
|
|
target_link_libraries(amstream strmbase strmiids uuid wine)
|
|
|
|
add_importlibs(amstream ole32 msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET amstream DESTINATION reactos/system32 FOR all)
|