Files
pilotclient/mkspecs/features/libraries.pri
Mat Sutcliffe 188d3d914e Added constexpr specifier where possible in CBuildConfig.
This necessitated moving some function definitions into a .inc file
that is included by buildconfig.h, as constexpr functions must be defined
in the header. This new file is added to the list of QMAKE_SUBSTITUTES.
2019-02-22 20:23:23 +00:00

85 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 {
addStaticLibraryDependency(simulatorfsxcommon)
LIBS += -lsimulatorfsxcommon
}
simulatorfscommon {
addStaticLibraryDependency(simulatorfscommon)
LIBS += -lsimulatorfscommon
}
simulatorplugincommon {
addStaticLibraryDependency(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
}
RC_FILE = $$SourceRoot/src/plugins/simulator/fsxcommon/simconnect.rc
}
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