1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-31 16:52:10 +01:00
LibrePilot/ground/gcs/src/library.pri

28 lines
649 B
Plaintext

include(../gcs.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 = $$shell_quote(\$$ORIGIN)
QMAKE_RPATHDIR += $$shell_quote(\$$ORIGIN/$$relative_path($$GCS_QT_LIBRARY_PATH, $$GCS_LIBRARY_PATH))
include(rpath.pri)
target.path = /$$GCS_LIBRARY_BASENAME/gcs
}
INSTALLS += target
}