mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 10:55:32 +08:00
Fix copy command for unix platforms when parent folder does not exist
This commit is contained in:
@@ -30,7 +30,14 @@ RESOURCES +=
|
|||||||
win32:isEmpty(MINGW_IN_SHELL): COPY = xcopy /yi
|
win32:isEmpty(MINGW_IN_SHELL): COPY = xcopy /yi
|
||||||
else: COPY = cp -r
|
else: COPY = cp -r
|
||||||
|
|
||||||
QMAKE_POST_LINK += $$COPY $$shell_path($$PWD/sounds) \
|
win32 {
|
||||||
|
QMAKE_POST_LINK += $$COPY $$shell_path($$PWD/sounds) \
|
||||||
$$shell_path($$OUT_PWD/../../bin/sounds)
|
$$shell_path($$OUT_PWD/../../bin/sounds)
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
QMAKE_POST_LINK += mkdir -p $$shell_path($$OUT_PWD/../../bin) && \
|
||||||
|
$$COPY $$shell_path($$PWD/sounds) \
|
||||||
|
$$shell_path($$OUT_PWD/../../bin)
|
||||||
|
}
|
||||||
|
|
||||||
include (../../libraries.pri)
|
include (../../libraries.pri)
|
||||||
|
|||||||
Reference in New Issue
Block a user