mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 10:23:22 +00:00
29 lines
734 B
CMake
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)
|