0
|
1 |
|
|
2 |
#global defaults
|
|
3 |
isEmpty(QMAKE_REZ) {
|
|
4 |
QMAKE_REZ = /Developer/Tools/Rez
|
|
5 |
}
|
|
6 |
isEmpty(REZ_DIR):REZ_DIR = .
|
|
7 |
isEmpty(QMAKE_EXT_REZ):QMAKE_EXT_REZ = .rsrc
|
|
8 |
|
|
9 |
rez_source.CONFIG += no_link
|
|
10 |
rez_source.dependency_type = TYPE_C
|
|
11 |
rez_source.commands = $$QMAKE_REZ ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} -useDF
|
|
12 |
rez_source.output = $$REZ_DIR/${QMAKE_FILE_BASE}$${first(QMAKE_EXT_REZ)}
|
|
13 |
rez_source.input = REZ_FILES
|
|
14 |
rez_source.name = REZ ${QMAKE_FILE_IN}
|
|
15 |
silent:rez_source.commands = @echo rez ${QMAKE_FILE_IN} && $$rez_source.commands
|
|
16 |
QMAKE_EXTRA_COMPILERS += rez_source
|