Files
pilotclient/mkspecs/features/libraries.pri
Roland Rossgotterer d639187f91 Convert static common simulator plugins to shared ones
Test Plan:
- Check that the new shared libraries are packaged in all platform installers.
- check that plugins are loaded properly on all platforms.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Maniphest Tasks: T471

Differential Revision: https://dev.swift-project.org/D79
2019-02-22 20:34:50 +00:00

83 lines
1.7 KiB
Plaintext

LIBS *= -L$$DestRoot/lib
unix:!macx {
# Set the rpath-link to find dependent shared libraries when linking
# Note: This does not add any rpath into the binaries.
LIBS += -Wl,-rpath-link,$$DestRoot/lib -Wl,-rpath-link,$$[QT_INSTALL_LIBS]
}
simulatorfsxcommon {
addLibraryDependency(simulatorfsxcommon)
LIBS += -lsimulatorfsxcommon
}
simulatorfscommon {
addLibraryDependency(simulatorfscommon)
LIBS += -lsimulatorfscommon
}
simulatorplugincommon {
addLibraryDependency(simulatorplugincommon)
LIBS += -lsimulatorplugincommon
}
fsuipc {
addStaticLibraryDependency(fsuipc)
LIBS += -lfsuipc
}
simconnect {
DEFINES += SIMCONNECT_H_NOMANIFEST
equals(WORD_SIZE,64) {
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/P3D-v4
DEFINES += P3D_SDK_VERSION=400
}
equals(WORD_SIZE,32) {
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/FSX-XPack
}
}
blackgui {
addLibraryDependency(blackgui)
LIBS *= -lblackgui
}
blackcore {
addLibraryDependency(blackcore)
LIBS *= -lblackcore -lvatlib
}
blacksound {
LIBS *= -lblacksound
}
blackinput {
addLibraryDependency(blackinput)
LIBS *= -lblackinput
macx {
LIBS += -framework CoreFoundation -framework ApplicationServices -framework Foundation -framework AppKit
}
win32 {
LIBS *= -ldxguid -lole32 -ldinput8 -lUser32
}
}
blackmisc {
addLibraryDependency(blackmisc)
LIBS *= -lblackmisc
win32 {
LIBS *= -lShell32
}
}
blackconfig {
addStaticLibraryDependency(blackconfig)
LIBS *= -lblackconfig
}
# to include buildconfig_gen.inc
INCLUDEPATH *= $$BuildRoot/generated