mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-01 14:45:42 +08:00
refs #241 Create common MSFS plugin library
This commit is contained in:
@@ -27,6 +27,11 @@ contains(BLACK_CONFIG, BlackGui) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
|
|
||||||
|
if (contains(BLACK_CONFIG, FSX) | contains(BLACK_CONFIG, FS9)) {
|
||||||
|
SUBDIRS += src/plugins/simulator/fscommon/plugin_fscommon.pro
|
||||||
|
}
|
||||||
|
|
||||||
contains(BLACK_CONFIG, FSX) {
|
contains(BLACK_CONFIG, FSX) {
|
||||||
SUBDIRS += src/plugins/simulator/fsx/plugin_fsx.pro
|
SUBDIRS += src/plugins/simulator/fsx/plugin_fsx.pro
|
||||||
}
|
}
|
||||||
|
|||||||
32
src/plugins/simulator/fscommon/plugin_fscommon.pro
Normal file
32
src/plugins/simulator/fscommon/plugin_fscommon.pro
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
include (../../../../config.pri)
|
||||||
|
include (../../../../build.pri)
|
||||||
|
|
||||||
|
QT += core dbus
|
||||||
|
|
||||||
|
TARGET = simulator_fscommon
|
||||||
|
TEMPLATE = lib
|
||||||
|
|
||||||
|
CONFIG += staticlib
|
||||||
|
CONFIG += blackmisc
|
||||||
|
|
||||||
|
LIBS += -lFSUIPC_User
|
||||||
|
|
||||||
|
# required for FSUIPC
|
||||||
|
win32:!win32-g++*: QMAKE_LFLAGS += /NODEFAULTLIB:LIBC.lib
|
||||||
|
|
||||||
|
DEPENDPATH += . ../../../../src
|
||||||
|
INCLUDEPATH += . ../../../../src
|
||||||
|
|
||||||
|
SOURCES += *.cpp
|
||||||
|
HEADERS += *.h
|
||||||
|
|
||||||
|
win32:!win32-g++*: PRE_TARGETDEPS += ../../../../lib/blackmisc.lib \
|
||||||
|
../../../../lib/blacksim.lib \
|
||||||
|
../../../../lib/blackcore.lib
|
||||||
|
else: PRE_TARGETDEPS += ../../../../lib/libblackmisc.a \
|
||||||
|
../../../../lib/libblacksim.a \
|
||||||
|
../../../../lib/libblackcore.a
|
||||||
|
DESTDIR = ../../lib
|
||||||
|
|
||||||
|
DESTDIR = ../../../../lib
|
||||||
|
include (../../../../libraries.pri)
|
||||||
Reference in New Issue
Block a user