mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 18:55:38 +08:00
refs #482 Rationalized the copying of files from source tree to build tree.
This commit is contained in:
@@ -27,19 +27,7 @@ DESTDIR = $$DestRoot/lib
|
||||
DLLDESTDIR = $$DestRoot/bin
|
||||
|
||||
OTHER_FILES += ./sounds/*.wav sounds/readme.txt
|
||||
COPY_FILES += $$PWD/sounds/*
|
||||
RESOURCES +=
|
||||
|
||||
win32:isEmpty(MINGW_IN_SHELL): COPY = xcopy /yi
|
||||
else: COPY = cp -r
|
||||
|
||||
win32 {
|
||||
QMAKE_POST_LINK += $$COPY $$shell_path($$PWD/sounds) \
|
||||
$$shell_path($$DestRoot/bin/sounds)
|
||||
}
|
||||
else {
|
||||
QMAKE_POST_LINK += mkdir -p $$shell_path($$DestRoot/bin) && \
|
||||
$$COPY $$shell_path($$PWD/sounds) \
|
||||
$$shell_path($$DestRoot/bin)
|
||||
}
|
||||
|
||||
load(common_post)
|
||||
|
||||
Reference in New Issue
Block a user