blob: 3eb67389f3d1e8f07e3ce099097850d100c78e56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Prevent generating a makefile that attempts to create a lib
TEMPLATE = aux
# Pick up the host toolchain
option(host_build)
GYPI_CONTENTS = "{" \
" 'make_global_settings': [" \
" ['CC.host', '$$which($$QMAKE_CC)']," \
" ['CXX.host', '$$which($$QMAKE_CXX)']," \
" ['LD.host', '$$which($$QMAKE_LINK)'],"
GYPI_FILE = $$absolute_path('qmake_extras.gypi')
!build_pass {
write_file($$GYPI_FILE, GYPI_CONTENTS)
}
|