summaryrefslogtreecommitdiffstats
path: root/dbus_interface/dbus_interface.pro
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2019-07-24 12:09:40 -0400
committerScott Murray <scott.murray@konsulko.com>2019-07-24 12:09:40 -0400
commit1f875de1d513c733550401ee40fa289fb2acb57e (patch)
tree9e6764cd4de63021285435e956f260b295cdbd7b /dbus_interface/dbus_interface.pro
parent33258140525123d6a38900811c2df3e14f4e8337 (diff)
Initial import from github
Import from http://github.com/YoshitoMomiyama/aglqtnavigation.git as of commit a6930c2, with the following minor changes: - .gitignore tweaked to remove itself - .gitreview updated Bug-AGL: SPEC-2667 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I91fed0f6349bf1952e41132058929b70a2b0fe5b
Diffstat (limited to 'dbus_interface/dbus_interface.pro')
-rw-r--r--dbus_interface/dbus_interface.pro44
1 files changed, 44 insertions, 0 deletions
diff --git a/dbus_interface/dbus_interface.pro b/dbus_interface/dbus_interface.pro
new file mode 100644
index 0000000..d647da3
--- /dev/null
+++ b/dbus_interface/dbus_interface.pro
@@ -0,0 +1,44 @@
+QT += dbus
+TARGET = dbus_interface
+TEMPLATE = lib
+CONFIG += staticlib
+
+SOURCES +=
+HEADERS += \
+ dbus_types.h
+
+XMLSOURCES = \
+ org.genivi.navigationcore.xml \
+ org.agl.naviapi.xml
+
+gen_adaptor_cpp.input = XMLSOURCES
+gen_adaptor_cpp.commands = \
+ qdbusxml2cpp -i $$PWD/dbus_types.h -m -a ${QMAKE_FILE_IN_BASE}_adaptor ${QMAKE_FILE_IN}; \
+ moc $$OUT_PWD/${QMAKE_FILE_IN_BASE}_adaptor.h -o $$OUT_PWD/${QMAKE_FILE_IN_BASE}_adaptor.moc
+gen_adaptor_cpp.output = ${QMAKE_FILE_IN_BASE}_adaptor.cpp
+gen_adaptor_cpp.variable_out = SOURCES
+gen_adaptor_cpp.clean = ${QMAKE_FILE_IN_BASE}_adaptor.cpp
+
+gen_adaptor_h.input = XMLSOURCES
+gen_adaptor_h.commands = @echo Fake making the header for ${QMAKE_FILE_IN}
+gen_adaptor_h.depends = ${QMAKE_FILE_IN_BASE}_adaptor.cpp
+gen_adaptor_h.output = ${QMAKE_FILE_IN_BASE}_adaptor.h
+gen_adaptor_h.clean = ${QMAKE_FILE_IN_BASE}_adaptor.h
+
+gen_interface_cpp.input = XMLSOURCES
+gen_interface_cpp.commands = \
+ qdbusxml2cpp -i $$PWD/dbus_types.h -m -p ${QMAKE_FILE_IN_BASE}_interface ${QMAKE_FILE_IN}; \
+ moc $$OUT_PWD/${QMAKE_FILE_IN_BASE}_interface.h -o $$OUT_PWD/${QMAKE_FILE_IN_BASE}_interface.moc
+gen_interface_cpp.output = ${QMAKE_FILE_IN_BASE}_interface.cpp
+gen_interface_cpp.variable_out = SOURCES
+gen_interface_cpp.clean = ${QMAKE_FILE_IN_BASE}_interface.cpp
+
+gen_interface_h.input = XMLSOURCES
+gen_interface_h.commands = @echo Fake making the header for ${QMAKE_FILE_IN}
+gen_interface_h.depends = ${QMAKE_FILE_IN_BASE}_interface.cpp
+gen_interface_h.output = ${QMAKE_FILE_IN_BASE}_interface.h
+gen_interface_h.clean = ${QMAKE_FILE_IN_BASE}_interface.h
+
+QMAKE_EXTRA_COMPILERS += gen_adaptor_cpp gen_adaptor_h gen_interface_cpp gen_interface_h
+
+DISTFILES +=