Merged in f5soh/librepilot/LP-575_fedora_package (pull request #491)
[librepilot.git] / ground / gcs / src / library.pri
blob3120d28ce47d812f5bd9d31c752506fc60294bc2
1 include(../gcs.pri)
3 win32 {
4     DLLDESTDIR = $$GCS_APP_PATH
7 DESTDIR = $$GCS_LIBRARY_PATH
9 TARGET = $$qtLibraryName($$TARGET)
11 contains(QT_CONFIG, reduce_exports):CONFIG += hGCS_symbols
13 macx {
14     QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Plugins/
15 } else {
16     win32 {
17         target.path = /bin
18         target.files = $$DESTDIR/$${TARGET}.dll
19     } else {
20         QMAKE_RPATHDIR  = $$shell_quote(\$$ORIGIN)
21         QMAKE_RPATHDIR += $$shell_quote(\$$ORIGIN/$$relative_path($$GCS_QT_LIBRARY_PATH, $$GCS_LIBRARY_PATH))
22         include(rpath.pri)
24         target.path = /$$GCS_LIBRARY_BASENAME/gcs
25     }
26     INSTALLS += target