diff --git a/client.pro b/client.pro index d18cdf00c..7e60c5659 100644 --- a/client.pro +++ b/client.pro @@ -25,6 +25,10 @@ contains(BLACK_CONFIG, BlackSim) { contains(BLACK_CONFIG, FSX) { SUBDIRS += src/blacksim/fsx/plugin_fsx.pro } + + contains(BLACK_CONFIG, XPlane) { + SUBDIRS += src/blacksim/xplane/plugin/plugin_xplane.pro + } } contains(BLACK_CONFIG, Samples) { diff --git a/config.pri b/config.pri index aa9af2967..b5581523b 100644 --- a/config.pri +++ b/config.pri @@ -27,4 +27,5 @@ BLACK_CONFIG += BlackSim BLACK_CONFIG += Samples BLACK_CONFIG += Unittests #BLACK_CONFIG += FSX +#BLACK_CONFIG += XPlane #BLACK_CONFIG += Doxygen diff --git a/libraries.pri b/libraries.pri index 1f2489d3b..be3d337f5 100644 --- a/libraries.pri +++ b/libraries.pri @@ -1,6 +1,6 @@ include (externals.pri) -LIBS *= -L../../lib -L../../../lib +LIBS *= -L../../lib -L../../../lib -L../../../../lib blackgui { LIBS += -lblackgui diff --git a/src/blacksim/blacksim.pro b/src/blacksim/blacksim.pro index 0b1ff3b58..0892d6a2b 100644 --- a/src/blacksim/blacksim.pro +++ b/src/blacksim/blacksim.pro @@ -31,6 +31,11 @@ SOURCES += $$PWD/fscommon/*.cpp HEADERS += $$PWD/fsx/*.h SOURCES += $$PWD/fsx/*.cpp +contains(BLACK_CONFIG, XPlane) { + HEADERS += $$PWD/xplane/plugin/*.h + SOURCES += $$PWD/xplane/plugin/*.cpp +} + DESTDIR = ../../lib include (../../libraries.pri) diff --git a/src/blacksim/xplane/plugin/plugin_xplane.pro b/src/blacksim/xplane/plugin/plugin_xplane.pro new file mode 100644 index 000000000..435c52325 --- /dev/null +++ b/src/blacksim/xplane/plugin/plugin_xplane.pro @@ -0,0 +1,22 @@ +include (../../../../config.pri) +include (../../../../build.pri) + +QT += core dbus network + +TARGET = simulator_xplane +TEMPLATE = lib + +CONFIG += plugin shared +CONFIG += blackmisc + +DEPENDPATH += . ../../../../src +INCLUDEPATH += . ../../../../src + +SOURCES += *.cpp +HEADERS += *.h + +#win32:!win32-g++*: PRE_TARGETDEPS += ../../../../lib/blackmisc.lib + +DESTDIR = ../../../../bin/plugins + +include (../../../../libraries.pri) diff --git a/src/blacksim/xplane/plugin/stub.cpp b/src/blacksim/xplane/plugin/stub.cpp new file mode 100644 index 000000000..e69de29bb diff --git a/src/blacksim/xplane/plugin/stub.h b/src/blacksim/xplane/plugin/stub.h new file mode 100644 index 000000000..e69de29bb