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