2013-04-05 22:46:56 +02:00
|
|
|
include(../openpilotgcs.pri)
|
|
|
|
|
|
|
|
win32 {
|
|
|
|
DLLDESTDIR = $$GCS_APP_PATH
|
|
|
|
}
|
|
|
|
|
|
|
|
DESTDIR = $$GCS_LIBRARY_PATH
|
|
|
|
|
|
|
|
TARGET = $$qtLibraryName($$TARGET)
|
|
|
|
|
|
|
|
contains(QT_CONFIG, reduce_exports):CONFIG += hGCS_symbols
|
|
|
|
|
2014-12-22 02:47:27 +01:00
|
|
|
macx {
|
|
|
|
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Plugins/
|
2015-01-06 22:24:01 +01:00
|
|
|
} else {
|
2013-04-05 22:46:56 +02:00
|
|
|
win32 {
|
|
|
|
target.path = /bin
|
|
|
|
target.files = $$DESTDIR/$${TARGET}.dll
|
|
|
|
} else {
|
2014-12-22 02:47:27 +01:00
|
|
|
QMAKE_RPATHDIR = \'\$$ORIGIN\'
|
2014-12-28 21:04:47 +01:00
|
|
|
QMAKE_RPATHDIR += \'\$$ORIGIN\'/$$relative_path($$GCS_QT_LIBRARY_PATH, $$GCS_LIBRARY_PATH)
|
2014-12-22 02:47:27 +01:00
|
|
|
include(rpath.pri)
|
|
|
|
|
2013-04-05 22:46:56 +02:00
|
|
|
target.path = /$$GCS_LIBRARY_BASENAME/openpilotgcs
|
|
|
|
}
|
|
|
|
INSTALLS += target
|
|
|
|
}
|