guh-generateplugininfo -> nymea-generateplugininfo
This commit is contained in:
parent
39fc071ed6
commit
34e387fa2b
@ -129,7 +129,7 @@ SOURCES += devicemanager.cpp \
|
|||||||
hardwaremanager.cpp \
|
hardwaremanager.cpp \
|
||||||
|
|
||||||
# install plugininfo python script for libnymea-dev
|
# install plugininfo python script for libnymea-dev
|
||||||
generateplugininfo.files = $$top_srcdir/plugins/guh-generateplugininfo
|
generateplugininfo.files = $$top_srcdir/plugins/nymea-generateplugininfo
|
||||||
generateplugininfo.path = /usr/bin
|
generateplugininfo.path = /usr/bin
|
||||||
|
|
||||||
INSTALLS += generateplugininfo
|
INSTALLS += generateplugininfo
|
||||||
|
|||||||
@ -375,7 +375,7 @@ def writeExternPluginInfoFile():
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
# Argument parser
|
# Argument parser
|
||||||
parser = argparse.ArgumentParser(description='The guh-generateplugininfo is a precompiler for building plugins. This precompiler will create a plugininfo.h containing the uuid definitions from the plugin json file and creates the translations for the plugin.')
|
parser = argparse.ArgumentParser(description='The nymea-generateplugininfo is a precompiler for building plugins. This precompiler will create a plugininfo.h containing the uuid definitions from the plugin json file and creates the translations for the plugin.')
|
||||||
parser.add_argument('-j', '--jsonfile', help='The JSON input file name with the plugin description', metavar='jsonfile', required=True)
|
parser.add_argument('-j', '--jsonfile', help='The JSON input file name with the plugin description', metavar='jsonfile', required=True)
|
||||||
parser.add_argument('-b', '--builddir', help='The path to the build directory of the plugin where the plugininfo.h file can be found.', metavar='buildpath', required=True)
|
parser.add_argument('-b', '--builddir', help='The path to the build directory of the plugin where the plugininfo.h file can be found.', metavar='buildpath', required=True)
|
||||||
parser.add_argument('-f', '--filetype', help='The file type to generate: e = extern infofile, i = infofile', action='store', choices=['e', 'i'], default='i')
|
parser.add_argument('-f', '--filetype', help='The file type to generate: e = extern infofile, i = infofile', action='store', choices=['e', 'i'], default='i')
|
||||||
@ -15,7 +15,7 @@ plugininfo.target = plugininfo.h
|
|||||||
plugininfo.output = plugininfo.h
|
plugininfo.output = plugininfo.h
|
||||||
plugininfo.CONFIG = no_link
|
plugininfo.CONFIG = no_link
|
||||||
plugininfo.input = JSONFILES
|
plugininfo.input = JSONFILES
|
||||||
plugininfo.commands = touch ${QMAKE_FILE_OUT}; $$top_srcdir/plugins/guh-generateplugininfo \
|
plugininfo.commands = touch ${QMAKE_FILE_OUT}; $$top_srcdir/plugins/nymea-generateplugininfo \
|
||||||
--filetype i \
|
--filetype i \
|
||||||
--jsonfile ${QMAKE_FILE_NAME} \
|
--jsonfile ${QMAKE_FILE_NAME} \
|
||||||
--output ${QMAKE_FILE_OUT} \
|
--output ${QMAKE_FILE_OUT} \
|
||||||
@ -25,7 +25,7 @@ externplugininfo.target = extern-plugininfo.h
|
|||||||
externplugininfo.output = extern-plugininfo.h
|
externplugininfo.output = extern-plugininfo.h
|
||||||
externplugininfo.CONFIG = no_link
|
externplugininfo.CONFIG = no_link
|
||||||
externplugininfo.input = JSONFILES
|
externplugininfo.input = JSONFILES
|
||||||
externplugininfo.commands = touch ${QMAKE_FILE_OUT}; $$top_srcdir/plugins/guh-generateplugininfo \
|
externplugininfo.commands = touch ${QMAKE_FILE_OUT}; $$top_srcdir/plugins/nymea-generateplugininfo \
|
||||||
--filetype e \
|
--filetype e \
|
||||||
--jsonfile ${QMAKE_FILE_NAME} \
|
--jsonfile ${QMAKE_FILE_NAME} \
|
||||||
--output ${QMAKE_FILE_OUT} \
|
--output ${QMAKE_FILE_OUT} \
|
||||||
|
|||||||
Reference in New Issue
Block a user