mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
56aa5137e7
Fix also MSVC build. [DOC] Add qcap entry in README.WINE Co-Authored-By: Thomas Faber <18138474+ThFabba@users.noreply.github.com>
28 lines
734 B
CMake
28 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)
|