mkspecs/features/mac/rez.prf
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Wed, 21 Apr 2010 20:15:53 +0300
branchRCL_3
changeset 14 c0432d11811c
parent 0 1918ee327afb
permissions -rw-r--r--
eb175c3290cd7ea85da4a590db9461504a4904bc


#global defaults
isEmpty(QMAKE_REZ) {
    QMAKE_REZ = /Developer/Tools/Rez
}
isEmpty(REZ_DIR):REZ_DIR = .
isEmpty(QMAKE_EXT_REZ):QMAKE_EXT_REZ = .rsrc

rez_source.CONFIG += no_link
rez_source.dependency_type = TYPE_C
rez_source.commands = $$QMAKE_REZ ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} -useDF
rez_source.output = $$REZ_DIR/${QMAKE_FILE_BASE}$${first(QMAKE_EXT_REZ)}
rez_source.input = REZ_FILES
rez_source.name = REZ ${QMAKE_FILE_IN}
silent:rez_source.commands = @echo rez ${QMAKE_FILE_IN} && $$rez_source.commands
QMAKE_EXTRA_COMPILERS += rez_source