mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-02 15:15:39 +08:00
Fixed .pro file for blacksound , copying of sound files
https://dev.vatsim-germany.org/issues/129#note-11
This commit is contained in:
@@ -23,5 +23,9 @@ DESTDIR = ../../lib
|
|||||||
OTHER_FILES += ./sounds/*.wav sounds/readme.txt
|
OTHER_FILES += ./sounds/*.wav sounds/readme.txt
|
||||||
RESOURCES +=
|
RESOURCES +=
|
||||||
|
|
||||||
win32: QMAKE_POST_LINK = copy sounds/* $$OUT_PWD/../../bin/sounds
|
win32 {
|
||||||
else: QMAKE_POST_LINK = cp sounds/* $$OUT_PWD/../../bin/sounds
|
# I have to replace / with \ , without xcopy the directory is not created
|
||||||
|
PWD_OUT_WIN = \"$$shell_path($$OUT_PWD/../../bin/sounds/)\"
|
||||||
|
PWD_WIN = \"$$shell_path($$PWD/sounds/*.*)\"
|
||||||
|
QMAKE_POST_LINK = xcopy $$PWD_WIN $$PWD_OUT_WIN /y
|
||||||
|
} else: QMAKE_POST_LINK = cp sounds/* $$OUT_PWD/../../bin/sounds
|
||||||
|
|||||||
Reference in New Issue
Block a user