Fix copying of swift resources on unix platforms

This commit is contained in:
Roland Winklmeier
2015-10-05 13:47:31 +00:00
committed by Mathew Sutcliffe
parent c51d7c28a1
commit 2d429efbde

View File

@@ -8,7 +8,9 @@ win32 {
$$shell_path($$OUT_PWD/../../bin/resources/swiftDB)
}
else {
QMAKE_PRE_LINK += mkdir -p $$shell_path($$OUT_PWD/../../bin) \
&& $$COPY $$shell_path($$PWD/data) $$shell_path($$PWD/swiftDB) \
$$shell_path($$OUT_PWD/../../bin)
QMAKE_PRE_LINK += mkdir -p $$shell_path($$OUT_PWD/../../bin/resources) \
&& $$COPY $$shell_path($$PWD/data) \
$$shell_path($$OUT_PWD/../../bin/resources) \
&& $$COPY $$shell_path($$PWD/swiftDB) \
$$shell_path($$OUT_PWD/../../bin/resources/swiftDB)
}