akvirtualcamera/dshow/VCamIPC/VCamIPC.pro

66 lines
1.6 KiB
Prolog
Raw Normal View History

# 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 <http://www.gnu.org/licenses/>.
#
# 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 += \
staticlib \
create_prl \
no_install_prl
CONFIG -= qt
DESTDIR = $${OUT_PWD}/$${BIN_DIR}
TARGET = VCamIPC
TEMPLATE = lib
LIBS = \
-L$${OUT_PWD}/../PlatformUtils/$${BIN_DIR} -lPlatformUtils \
-L$${OUT_PWD}/../../VCamUtils/$${BIN_DIR} -lVCamUtils \
-ladvapi32 \
-lkernel32 \
-lpsapi \
-lrstrmgr
win32-g++: LIBS += -lssp
SOURCES = \
src/ipcbridge.cpp
HEADERS = \
../../ipcbridge.h
INCLUDEPATH += \
.. \
../..
DEFINES += \
DSHOW_PLUGIN_ARCH=\"\\\"$$normalizedArch(TARGET_ARCH)\\\"\" \
DSHOW_PLUGIN_ARCH_L=\"L\\\"$$normalizedArch(TARGET_ARCH)\\\"\"