mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-03 11:24:10 +01:00
28 lines
644 B
Plaintext
28 lines
644 B
Plaintext
include(../openpilotgcs.pri)
|
|
|
|
win32 {
|
|
DLLDESTDIR = $$GCS_APP_PATH
|
|
}
|
|
|
|
DESTDIR = $$GCS_LIBRARY_PATH
|
|
|
|
TARGET = $$qtLibraryName($$TARGET)
|
|
|
|
contains(QT_CONFIG, reduce_exports):CONFIG += hGCS_symbols
|
|
|
|
macx {
|
|
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Plugins/
|
|
} else {
|
|
win32 {
|
|
target.path = /bin
|
|
target.files = $$DESTDIR/$${TARGET}.dll
|
|
} else {
|
|
QMAKE_RPATHDIR = \'\$$ORIGIN\'
|
|
QMAKE_RPATHDIR += \'\$$ORIGIN\'/$$relative_path($$GCS_QT_LIBRARY_PATH, $$GCS_LIBRARY_PATH)
|
|
include(rpath.pri)
|
|
|
|
target.path = /$$GCS_LIBRARY_BASENAME/openpilotgcs
|
|
}
|
|
INSTALLS += target
|
|
}
|