diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2015-12-22 00:46:19 +0100 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2015-12-22 00:48:01 +0100 |
commit | df9e0ad632b122e19964d2f39588fb5fe2087037 (patch) | |
tree | f896d3cefff09a33ff87f0dafe61db7c3c7ab9b3 /recipes-automotive/climatecontrolplugin/files/climatecontrol.pro | |
parent | e10617b85d81591de2a5b567d43a1f48cc15aa5f (diff) | |
parent | 762181dff011efbaf3d40edb1b3d573c5aceab01 (diff) |
Merge branch 'master' of ssh://gerrit.automotivelinux.org:29418/AGL/meta-agl-demo into albacore
Change-Id: Ieedfdda7a1be86c626c6f67b57fed05adb628a87
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'recipes-automotive/climatecontrolplugin/files/climatecontrol.pro')
-rw-r--r-- | recipes-automotive/climatecontrolplugin/files/climatecontrol.pro | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-automotive/climatecontrolplugin/files/climatecontrol.pro b/recipes-automotive/climatecontrolplugin/files/climatecontrol.pro new file mode 100644 index 000000000..d3817c196 --- /dev/null +++ b/recipes-automotive/climatecontrolplugin/files/climatecontrol.pro @@ -0,0 +1,36 @@ +TEMPLATE = lib +TARGET = ClimateControl +QT += qml quick dbus +CONFIG += qt plugin c++11 +CONFIG(release):DEFINES += QT_NO_DEBUG_OUTPUT + +TARGET = $$qtLibraryTarget($$TARGET) +uri = Automotive.ClimateControl + +# Input +SOURCES += \ + climatecontrol_plugin.cpp \ + climatecontrol.cpp + +HEADERS += \ + climatecontrol_plugin.h \ + climatecontrol.h + +DISTFILES = qmldir \ + climatecontroltest.qml + +!equals(_PRO_FILE_PWD_, $$OUT_PWD) { + copy_qmldir.target = $$OUT_PWD/qmldir + copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir + copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\" + QMAKE_EXTRA_TARGETS += copy_qmldir + PRE_TARGETDEPS += $$copy_qmldir.target +} + +qmldir.files = qmldir +unix { + installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /) + qmldir.path = $$installPath + target.path = $$installPath + INSTALLS += target qmldir +} |