summaryrefslogtreecommitdiff
path: root/mkspecs/features/spec_pre.prf
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-04-22 20:05:53 +0200
committerLiang Qi <liang.qi@qt.io>2016-04-27 21:08:40 +0000
commita060d25ef2d71567d4057016d22f318ffda9dcf7 (patch)
tree9c81ffb1e586c13c9551a6a31516ddeb348a91a7 /mkspecs/features/spec_pre.prf
parentab06266e15265737039cec2129fdf44848ed95a8 (diff)
downloadqtbase-a060d25ef2d71567d4057016d22f318ffda9dcf7.tar.gz
add support for copying arbitrary files
this adds file_copies.prf, which understands the variable COPIES, which works analogously to INSTALLS. i've been holding this off for a long time, as it is not without caveats. however, similar hacks are proliferating all over the code base, so it's time we formalized it. in fact, it's the easiest way to fix some nasty shadow build problems, which is why i'm adding this on the stable branch. Task-number: QTBUG-52256 Change-Id: Icbe3b9fbb79c952546aad2d467a438d3a69d749f Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'mkspecs/features/spec_pre.prf')
-rw-r--r--mkspecs/features/spec_pre.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/spec_pre.prf b/mkspecs/features/spec_pre.prf
index ff310d9793..090f348ebf 100644
--- a/mkspecs/features/spec_pre.prf
+++ b/mkspecs/features/spec_pre.prf
@@ -51,5 +51,5 @@ equals(QMAKE_HOST.os, Windows) {
QMAKE_SH = sh
}
-CONFIG = qt warn_on release link_prl
+CONFIG = file_copies qt warn_on release link_prl
QT = core gui