mkspecs/docml2bin.prf
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 27 May 2010 13:10:59 +0300
changeset 3 11d3954df52a
parent 2 06ff229162e9
child 7 923ff622b8b9
permissions -rw-r--r--
Revision: 201019 Kit: 2010121

exists(hb_install.prf):include(hb_install.prf)
else:include($${HB_BUILD_DIR}/hb_install.prf)
include(hb_functions.prf)

QMAKE_DOCML2BIN = $$hbToolCommand(docml2bin) 
 
docml2bin.input = DOCML
docml2bin.output = ${QMAKE_FILE_IN}.bin
docml2bin.commands = "$$QMAKE_DOCML2BIN" -s "${QMAKE_FILE_IN}" -t "${QMAKE_FILE_OUT}"
docml2bin.name = DOCML2BIN ${QMAKE_FILE_IN}
docml2bin.CONFIG = no_link

rcc.depends += compiler_docml2bin_make_all

## how to add ".bin" for each variable?
#rcc.depends += for(DOCMLFILE, $$list(DOCML)) { DOCMLFILE }
#rcc.depends += $${first(DOCML)}.bin
#rcc.depends += $${last(DOCML)}.bin

QMAKE_EXTRA_COMPILERS += docml2bin