diff options
author | Hannah von Reth <hannah.vonreth@kdab.com> | 2016-11-11 10:02:34 +0100 |
---|---|---|
committer | Hannah von Reth <hannah.vonreth@kdab.com> | 2016-11-14 16:03:39 +0000 |
commit | aeb2768a7c5b23260e6ca0826b844777b9948b6c (patch) | |
tree | e3afe9912796f77a9858e65f20eed0224558300b /mkspecs/features/qt_parts.prf | |
parent | 104e6d0f5427f5ebaab106b1651eb76c4c56df98 (diff) |
Introduce QMAKE_CD to enable us to cd from one Windows drive to another
On Windows cd does not change the drive. So when you are on drive C:
and type "cd D:\data" it will change the directory on drive D: but not
affect your current working directory.
To also change your drive you have to provide the parameter /d on
Windows, so "cd /d D:\data" will also change the drive.
Task-number: QTBUG-57080
Change-Id: Ib629879534523982eec693cef725f20a535a1a74
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'mkspecs/features/qt_parts.prf')
-rw-r--r-- | mkspecs/features/qt_parts.prf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/qt_parts.prf b/mkspecs/features/qt_parts.prf index 0accef6665..67e218ca73 100644 --- a/mkspecs/features/qt_parts.prf +++ b/mkspecs/features/qt_parts.prf @@ -88,7 +88,7 @@ for (t, tests): \ testdirs = $$unique(testdirs) for (td, testdirs) { t = $$basename(td)-distclean - $${t}.commands = -cd $$shell_path($$td) && $(MAKE) distclean + $${t}.commands = -$$QMAKE_CD $$shell_path($$td) && $(MAKE) distclean QMAKE_EXTRA_TARGETS += $$t DISTCLEAN_DEPS += $$t } |