refs #891, P3D driver / config

This commit is contained in:
Klaus Basan
2017-02-28 04:33:57 +01:00
committed by Mathew Sutcliffe
parent 5d8ed66931
commit d280141563
10 changed files with 319 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
load(common_pre)
REQUIRES += contains(BLACK_CONFIG,P3D)
QT += core dbus gui network concurrent xml
TARGET = simulatorp3d
TEMPLATE = lib
CONFIG += plugin shared
CONFIG += blackmisc blackcore
LIBS += -lsimulatorfscommon -lsimulatorfsxcommon -lSimConnect -lFSUIPC_User
# required for FSUIPC
win32:!win32-g++*: QMAKE_LFLAGS += /NODEFAULTLIB:LIBC.lib
DEPENDPATH += . $$SourceRoot/src
INCLUDEPATH += . $$SourceRoot/src
LIBS += -ldxguid -lole32
SOURCES += *.cpp
HEADERS += *.h
DISTFILES += simulatorp3d.json
DESTDIR = $$DestRoot/bin/plugins/simulator
win32 {
dlltarget.path = $$PREFIX/bin/plugins/simulator
INSTALLS += dlltarget
} else {
target.path = $$PREFIX/bin/plugins/simulator
INSTALLS += target
}
load(common_post)