2015-10-12 07:55:30 +00:00
|
|
|
option(host_build)
|
|
|
|
TEMPLATE = aux
|
|
|
|
|
|
|
|
# qmake documentation
|
|
|
|
QMAKE_DOCS = $$PWD/doc/qmake.qdocconf
|
|
|
|
|
|
|
|
# qmake binary
|
|
|
|
win32: EXTENSION = .exe
|
2016-11-24 17:41:48 +00:00
|
|
|
|
|
|
|
!build_pass {
|
|
|
|
qmake_exe.target = $$OUT_PWD/qmake$$EXTENSION
|
2017-01-03 15:40:30 +00:00
|
|
|
qmake_exe.commands = $(MAKE) binary
|
|
|
|
qmake_exe.CONFIG = phony
|
2016-11-24 17:41:48 +00:00
|
|
|
QMAKE_EXTRA_TARGETS += qmake_exe
|
|
|
|
|
|
|
|
QMAKE_DISTCLEAN += qmake$$EXTENSION
|
|
|
|
|
|
|
|
first.depends += qmake_exe
|
|
|
|
QMAKE_EXTRA_TARGETS += first
|
|
|
|
}
|
|
|
|
|
2015-10-12 07:55:30 +00:00
|
|
|
qmake.path = $$[QT_HOST_BINS]
|
2016-11-24 17:41:48 +00:00
|
|
|
qmake.files = $$OUT_PWD/qmake$$EXTENSION
|
|
|
|
qmake.CONFIG = no_check_exist executable
|
2015-10-12 07:55:30 +00:00
|
|
|
INSTALLS += qmake
|