mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-30 08:24:11 +01:00
7195862d77
This will allow us to build a parent project for qt-creator that sits above both openpilotgcs and uavobjgenerator so that we can build both projects at the same time. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2528 ebee16cc-31ac-478f-84a7-5cbb03baadba
19 lines
695 B
Prolog
19 lines
695 B
Prolog
include(../openpilotgcs.pri)
|
|
|
|
TEMPLATE = subdirs
|
|
SUBDIRS = openpilotgcs/translations
|
|
|
|
DATACOLLECTIONS = dials models pfd sounds diagrams mapicons
|
|
|
|
equals(copydata, 1) {
|
|
for(dir, DATACOLLECTIONS) {
|
|
exists($$GCS_SOURCE_TREE/share/openpilotgcs/$$dir) {
|
|
macx:data_copy.commands += $(COPY_DIR) $$targetPath(\"$$GCS_SOURCE_TREE/share/openpilotgcs/$$dir\") $$targetPath(\"$$GCS_DATA_PATH/\") $$addNewline()
|
|
!macx:data_copy.commands += $(COPY_DIR) $$targetPath(\"$$GCS_SOURCE_TREE/share/openpilotgcs/$$dir\") $$targetPath(\"$$GCS_DATA_PATH/$$dir\") $$addNewline()
|
|
}
|
|
}
|
|
|
|
data_copy.target = FORCE
|
|
QMAKE_EXTRA_TARGETS += data_copy
|
|
}
|