mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 09:15:34 +08:00
refs #452, added a resource project just adding files such as icons, data files etc.
This commit is contained in:
committed by
Mathew Sutcliffe
parent
0e2f8f51ba
commit
ab46ed615c
12
resources/swift_resources.pri
Normal file
12
resources/swift_resources.pri
Normal file
@@ -0,0 +1,12 @@
|
||||
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)
|
||||
}
|
||||
else {
|
||||
QMAKE_PRE_LINK += mkdir -p $$shell_path($$OUT_PWD/../../bin) && \
|
||||
$$COPY $$shell_path($$PWD/data) \
|
||||
$$shell_path($$OUT_PWD/../../bin)
|
||||
}
|
||||
Reference in New Issue
Block a user