reactos/dll/directx/wine/qcap/CMakeLists.txt
Oleg Dubinskiy 56aa5137e7
[QCAP] Import qcap.dll from Wine Staging 3.3. CORE-16350 (#2421)
Fix also MSVC build.

[DOC] Add qcap entry in README.WINE

Co-Authored-By: Thomas Faber <18138474+ThFabba@users.noreply.github.com>
2020-04-03 23:59:12 +02:00

29 lines
734 B
CMake

add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
spec2def(qcap.dll qcap.spec)
list(APPEND SOURCE
audiorecord.c
avico.c
avimux.c
capturegraph.c
enummedia.c
qcap_main.c
smartteefilter.c
v4l.c
vfwcapture.c
yuv.c)
add_library(qcap MODULE ${SOURCE}
${CMAKE_CURRENT_BINARY_DIR}/qcap_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/qcap.def
version.rc)
set_module_type(qcap win32dll)
target_link_libraries(qcap strmbase strmiids uuid wine)
add_importlibs(qcap ole32 oleaut32 gdi32 advapi32 advapi32_vista msvcrt kernel32 ntdll)
add_delay_importlibs(qcap msvfw32)
add_cd_file(TARGET qcap DESTINATION reactos/system32 FOR all)