Generate external file first.
This commit is contained in:
parent
4c34bcefd5
commit
e1ff0a4ee1
@ -15,14 +15,14 @@ plugininfo.input = JSONFILE
|
|||||||
plugininfo.output = plugininfo.h
|
plugininfo.output = plugininfo.h
|
||||||
plugininfo.CONFIG = no_link target_predeps
|
plugininfo.CONFIG = no_link target_predeps
|
||||||
plugininfo.commands = $$top_srcdir/plugins/nymea-generateplugininfo \
|
plugininfo.commands = $$top_srcdir/plugins/nymea-generateplugininfo \
|
||||||
--filetype i \
|
|
||||||
--jsonfile $$PWD/$$TARGET/deviceplugin"$$TARGET".json \
|
|
||||||
--output plugininfo.h \
|
|
||||||
--builddir $$OUT_PWD; \
|
|
||||||
$$top_srcdir/plugins/nymea-generateplugininfo \
|
|
||||||
--filetype e \
|
--filetype e \
|
||||||
--jsonfile $$PWD/$$TARGET/deviceplugin"$$TARGET".json \
|
--jsonfile $$PWD/$$TARGET/deviceplugin"$$TARGET".json \
|
||||||
--output extern-plugininfo.h \
|
--output extern-plugininfo.h \
|
||||||
|
--builddir $$OUT_PWD; \
|
||||||
|
$$top_srcdir/plugins/nymea-generateplugininfo \
|
||||||
|
--filetype i \
|
||||||
|
--jsonfile $$PWD/$$TARGET/deviceplugin"$$TARGET".json \
|
||||||
|
--output plugininfo.h \
|
||||||
--builddir $$OUT_PWD;
|
--builddir $$OUT_PWD;
|
||||||
# Add it as a compiler, so it will be called before building like moc
|
# Add it as a compiler, so it will be called before building like moc
|
||||||
QMAKE_EXTRA_COMPILERS += plugininfo
|
QMAKE_EXTRA_COMPILERS += plugininfo
|
||||||
|
|||||||
Reference in New Issue
Block a user