mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Work around a qmake bug that was causing empty directories to be created
in the root C:\ directory when using the MSVC solution generator.
This commit is contained in:
committed by
Klaus Basan
parent
943a6af2ba
commit
919a31b250
@@ -33,3 +33,9 @@ QMAKE_EXTRA_TARGETS += copy_files_cookie
|
||||
!isEmpty($${copy_files.input}) {
|
||||
PRE_TARGETDEPS += $${copy_files_cookie.target}
|
||||
}
|
||||
|
||||
# Disable the extra compiler when the .pro file is being parsed by the MSVC
|
||||
# project generator to compute dependencies. This works around a bug where
|
||||
# relative paths were being treated as absolute, leading to qmake creating
|
||||
# empty directories in the root of the current drive.
|
||||
contains(TEMPLATE, "vc.*"):!build_pass:QMAKE_EXTRA_COMPILERS -= copy_files
|
||||
|
||||
Reference in New Issue
Block a user