mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Add missing PRE_TARGETDEPS in simulator plugin projects
Summary: This fixes issue reported by Klaus in Slack: > when I change something in the plugin driver, I always have to rebuild the plugins before I can debug again. Also refactored `libraries.pri` to remove duplication. Reviewers: #swift_pilot_client, rwinklmeier Reviewed By: #swift_pilot_client, rwinklmeier Subscribers: kbasan, jenkins Tags: #swift_pilot_client Differential Revision: https://dev.swift-project.org/D31
This commit is contained in:
@@ -13,6 +13,8 @@ INCLUDEPATH += . $$SourceRoot/src
|
||||
|
||||
LIBS += -lsimulatorfscommon -lfsuipc -luuid
|
||||
LIBS += -ldxguid -lole32
|
||||
addStaticLibraryDependency(simulatorfscommon)
|
||||
addStaticLibraryDependency(fsuipc)
|
||||
|
||||
SOURCES += *.cpp
|
||||
HEADERS += *.h
|
||||
|
||||
@@ -17,6 +17,9 @@ INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/FSX-XPack
|
||||
LIBS *= -L$$EXTERNALS_LIB_DIR/FSX-XPack
|
||||
LIBS *= -lsimulatorfscommon -lsimulatorfsxcommon -lfsuipc -lSimConnect
|
||||
LIBS += -ldxguid -lole32
|
||||
addStaticLibraryDependency(simulatorfscommon)
|
||||
addStaticLibraryDependency(simulatorfsxcommon)
|
||||
addStaticLibraryDependency(fsuipc)
|
||||
|
||||
SOURCES += *.cpp
|
||||
HEADERS += *.h
|
||||
|
||||
@@ -14,6 +14,8 @@ SOURCES += *.cpp
|
||||
HEADERS += *.h
|
||||
DISTFILES += simulatorfsxconfig.json
|
||||
LIBS += -lsimulatorfsxcommon
|
||||
addStaticLibraryDependency(simulatorfsxcommon)
|
||||
|
||||
DESTDIR = $$DestRoot/bin/plugins/simulator
|
||||
|
||||
win32 {
|
||||
|
||||
@@ -34,6 +34,9 @@ equals(WORD_SIZE,32) {
|
||||
LIBS *= -lSimConnect
|
||||
}
|
||||
LIBS += -ldxguid -lole32
|
||||
addStaticLibraryDependency(simulatorfscommon)
|
||||
addStaticLibraryDependency(simulatorfsxcommon)
|
||||
addStaticLibraryDependency(fsuipc)
|
||||
|
||||
# Ignore linker warning about missing pdb files from Simconnect
|
||||
msvc: QMAKE_LFLAGS *= /ignore:4099
|
||||
|
||||
@@ -14,6 +14,8 @@ SOURCES += *.cpp
|
||||
HEADERS += *.h
|
||||
DISTFILES += simulatorp3dconfig.json
|
||||
LIBS += -lsimulatorfsxcommon
|
||||
addStaticLibraryDependency(simulatorfsxcommon)
|
||||
|
||||
DESTDIR = $$DestRoot/bin/plugins/simulator
|
||||
|
||||
win32 {
|
||||
|
||||
Reference in New Issue
Block a user