mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
af06960482
functions addCopyFileTarget and addCopyDirTarget
14 lines
378 B
Prolog
14 lines
378 B
Prolog
include(../openpilotgcs.pri)
|
|
|
|
TEMPLATE = aux
|
|
|
|
DATACOLLECTIONS = cloudconfig default_configurations dials models pfd sounds diagrams mapicons stylesheets
|
|
|
|
equals(copydata, 1) {
|
|
for(dir, DATACOLLECTIONS) {
|
|
exists($$GCS_SOURCE_TREE/share/openpilotgcs/$$dir) {
|
|
addCopyDirTarget($$dir, $$GCS_SOURCE_TREE/share/openpilotgcs, $$GCS_DATA_PATH)
|
|
}
|
|
}
|
|
}
|