mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-28 20:25:34 +08:00
blacksound.pro: adjusted cross-platform copying of sound files
refs #129
This commit is contained in:
@@ -23,9 +23,8 @@ DESTDIR = ../../lib
|
|||||||
OTHER_FILES += ./sounds/*.wav sounds/readme.txt
|
OTHER_FILES += ./sounds/*.wav sounds/readme.txt
|
||||||
RESOURCES +=
|
RESOURCES +=
|
||||||
|
|
||||||
win32 {
|
win32:isEmpty(MINGW_IN_SHELL): COPY = xcopy /yi
|
||||||
# I have to replace / with \ , without xcopy the directory is not created
|
else: COPY = cp -r
|
||||||
PWD_OUT_WIN = \"$$shell_path($$OUT_PWD/../../bin/sounds/)\"
|
|
||||||
PWD_WIN = \"$$shell_path($$PWD/sounds/*.*)\"
|
QMAKE_POST_LINK += $$COPY $$shell_path($$PWD/sounds) \
|
||||||
QMAKE_POST_LINK = xcopy $$PWD_WIN $$PWD_OUT_WIN /y
|
$$shell_path($$OUT_PWD/../../bin/sounds)
|
||||||
} else: QMAKE_POST_LINK = cp sounds/* $$OUT_PWD/../../bin/sounds
|
|
||||||
|
|||||||
Reference in New Issue
Block a user