Kai Koehne 67ddd6b22b Fix automatic generation of examples for debug_and_release builds
Q_MAKE_EXTRA_TARGETS does generate targets both in Makefile,
Makefile.debug, and Makefile.release. Use QMAKE_EXTRA_COMPILERS
instead, which in addition will also work in generated Visual Studio
projects.

Change-Id: I29ec3760508e84c30b3afce39fc36d4e9b6c2e07
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2014-10-24 15:43:02 +02:00

14 lines
346 B
INI

TEMPLATE = aux
INSTALLER = offline
INPUT = $$PWD/config/config.xml $$PWD/packages
example.input = INPUT
example.output = $$INSTALLER
example.commands = ../../bin/binarycreator -c $$PWD/config/config.xml -p $$PWD/packages ${QMAKE_FILE_OUT}
example.CONFIG += target_predeps no_link combine
QMAKE_EXTRA_COMPILERS += example
OTHER_FILES = README