# akvirtualcamera, virtual camera for Mac and Windows. # Copyright (C) 2020 Gonzalo Exequiel Pedone # # akvirtualcamera is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # akvirtualcamera is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with akvirtualcamera. If not, see . # # Web-Site: http://webcamoid.github.io/ exists(commons.pri) { include(commons.pri) } else { exists(../../commons.pri) { include(../../commons.pri) } else { error("commons.pri file not found.") } } include(../dshow.pri) CONFIG -= qt CONFIG += link_prl INCLUDEPATH += \ .. \ ../.. LIBS += \ -L$${OUT_PWD}/../VCamIPC/$${BIN_DIR} -lVCamIPC \ -L$${OUT_PWD}/../PlatformUtils/$${BIN_DIR} -lPlatformUtils \ -L$${OUT_PWD}/../../VCamUtils/$${BIN_DIR} -lVCamUtils \ -ladvapi32 \ -lgdi32 \ -lkernel32 \ -lole32 \ -loleaut32 \ -lpsapi \ -lshell32 \ -lstrmiids \ -luser32 \ -luuid \ -lwinmm TARGET = $${DSHOW_PLUGIN_NAME} TEMPLATE = lib HEADERS += \ src/basefilter.h \ src/classfactory.h \ src/cunknown.h \ src/enummediatypes.h \ src/enumpins.h \ src/filtermiscflags.h \ src/latency.h \ src/mediafilter.h \ src/mediasample.h \ src/mediasample2.h \ src/memallocator.h \ src/persist.h \ src/persistpropertybag.h \ src/pin.h \ src/plugin.h \ src/plugininterface.h \ src/propertyset.h \ src/pushsource.h \ src/qualitycontrol.h \ src/referenceclock.h \ src/specifypropertypages.h \ src/streamconfig.h \ src/videocontrol.h \ src/videoprocamp.h SOURCES += \ src/basefilter.cpp \ src/classfactory.cpp \ src/cunknown.cpp \ src/enummediatypes.cpp \ src/enumpins.cpp \ src/filtermiscflags.cpp \ src/latency.cpp \ src/mediafilter.cpp \ src/mediasample.cpp \ src/mediasample2.cpp \ src/memallocator.cpp \ src/persist.cpp \ src/persistpropertybag.cpp \ src/pin.cpp \ src/plugin.cpp \ src/plugininterface.cpp \ src/propertyset.cpp \ src/pushsource.cpp \ src/qualitycontrol.cpp \ src/referenceclock.cpp \ src/specifypropertypages.cpp \ src/streamconfig.cpp \ src/videocontrol.cpp \ src/videoprocamp.cpp OTHER_FILES = \ VirtualCamera.def DEF_FILE = VirtualCamera.def isEmpty(STATIC_BUILD) | isEqual(STATIC_BUILD, 0) { win32-g++: QMAKE_LFLAGS = -static -static-libgcc -static-libstdc++ } INSTALLPATH = $${DSHOW_PLUGIN_NAME}.plugin/$$normalizedArch(TARGET_ARCH) RESOURCESPATH = $${DSHOW_PLUGIN_NAME}.plugin/share DESTDIR = $${OUT_PWD}/../../$${INSTALLPATH} INSTALLS += \ target \ resources target.path = $${PREFIX}/$${INSTALLPATH} resources.files = ../../share/TestFrame/TestFrame.bmp resources.path = $${PREFIX}/$${RESOURCESPATH} QMAKE_POST_LINK = \ $$sprintf($$QMAKE_MKDIR_CMD, \ $$shell_quote($$shell_path($${OUT_PWD}/../../$${RESOURCESPATH}))) \ $${CMD_SEP} \ $(COPY) $$shell_quote($$shell_path($${PWD}/../../share/TestFrame/TestFrame.bmp)) \ $$shell_quote($$shell_path($${OUT_PWD}/../../$${RESOURCESPATH}/TestFrame.bmp))