This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
powersync-core/plugins/plugins.pri
2019-04-01 20:48:17 +02:00

21 lines
520 B
Plaintext

include(../guh.pri)
TEMPLATE = lib
CONFIG += plugin
INCLUDEPATH += $$top_srcdir/libguh
LIBS += -L../../../libguh -lguh
infofile.output = plugininfo.h
infofile.commands = $$top_srcdir/plugins/generateplugininfo.py ${QMAKE_FILE_NAME} ${QMAKE_FILE_OUT}
infofile.depends = $$top_srcdir/plugins/generateplugininfo.py
infofile.CONFIG = no_link
JSONFILES = deviceplugin"$$TARGET".json
infofile.input = JSONFILES
QMAKE_EXTRA_COMPILERS += infofile
target.path = /usr/lib/guh/plugins/
target.depends += if
INSTALLS += target