mirror of https://github.com/nymea/nymea.git
Rename the target in the plugin.pri so plugin devs don't have to do it
parent
1329fab9a6
commit
80693173de
|
|
@ -20,8 +20,7 @@
|
|||
# This project include file is meant to be used by nymea plugins.
|
||||
# Example project file for a plugin:
|
||||
|
||||
# include(/usr/include/nymea/plugi.pri)
|
||||
# TARGET = $$qtLibraryTarget(nymea_devicepluginexample)
|
||||
# include($$[QT_INSTALL_PREFIX]/include/nymea/plugin.pri)
|
||||
# SOURCES += devicepluginexample.cpp
|
||||
# HEADERS += devicepluginexample.h
|
||||
|
||||
|
|
@ -83,6 +82,8 @@ HEADERS += $$OUT_PWD/plugininfo.h \
|
|||
$$OUT_PWD/extern-plugininfo.h
|
||||
DEPENDPATH += $$OUT_PWD
|
||||
|
||||
TARGET = $$qtLibraryTarget(nymea_deviceplugin"$$TARGET")
|
||||
|
||||
# Install plugin
|
||||
target.path = $$PLUGIN_PATH
|
||||
INSTALLS += target translations
|
||||
|
|
|
|||
Loading…
Reference in New Issue