2015-10-14 15:03:33 +00:00
|
|
|
qtPrepareTool(QMAKE_QGLTF, qgltf)
|
|
|
|
|
|
|
|
isEmpty(QGLTF_DIR): QGLTF_DIR = .
|
|
|
|
|
|
|
|
qgltf.input = QT3D_MODELS
|
|
|
|
qgltf.output = $$QGLTF_DIR/${QMAKE_FILE_BASE}.qrc
|
|
|
|
qgltf.variable_out += RESOURCES
|
2016-06-23 09:50:39 +00:00
|
|
|
qgltf.depends += $$QMAKE_QGLTF_EXE
|
2015-10-14 15:03:33 +00:00
|
|
|
qgltf.commands = $$QMAKE_QGLTF -d $$QGLTF_DIR $$QGLTF_PARAMS ${QMAKE_FILE_NAME}
|
|
|
|
silent: qgltf.commands = @echo qgltf ${QMAKE_FILE_IN} && $$qgltf.commands -s
|
|
|
|
qgltf.CONFIG += no_link
|
|
|
|
QMAKE_EXTRA_COMPILERS += qgltf
|