2013-04-05 23:46:56 +03: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 14:47:27 +13:00
|
|
|
macx {
|
|
|
|
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Plugins/
|
|
|
|
} else
|
2013-04-05 23:46:56 +03:00
|
|
|
win32 {
|
|
|
|
target.path = /bin
|
|
|
|
target.files = $$DESTDIR/$${TARGET}.dll
|
|
|
|
} else {
|
2014-12-22 14:47:27 +13:00
|
|
|
QMAKE_RPATHDIR = \'\$$ORIGIN\'
|
|
|
|
QMAKE_RPATHDIR += \'\$$ORIGIN\'/../qt5
|
|
|
|
include(rpath.pri)
|
|
|
|
|
2013-04-05 23:46:56 +03:00
|
|
|
target.path = /$$GCS_LIBRARY_BASENAME/openpilotgcs
|
|
|
|
}
|
|
|
|
INSTALLS += target
|
|
|
|
}
|