mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
17 lines
779 B
Plaintext
17 lines
779 B
Plaintext
win32:isEmpty(MINGW_IN_SHELL): COPY = xcopy /yis
|
|
else: COPY = cp -r
|
|
|
|
win32 {
|
|
QMAKE_PRE_LINK += $$COPY $$shell_path($$PWD/data) \
|
|
$$shell_path($$OUT_PWD/../../bin/resources) \
|
|
& $$COPY $$shell_path($$PWD/swiftDB) \
|
|
$$shell_path($$OUT_PWD/../../bin/resources/swiftDB)
|
|
}
|
|
else {
|
|
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)
|
|
}
|