summaryrefslogtreecommitdiffstats
path: root/package/package.pro
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2016-12-13 01:29:33 +0900
committerTasuku Suzuki <tasuku.suzuki@qt.io>2016-12-13 16:28:39 +0900
commit560062626becb4d211a9948bf3008921129711cf (patch)
tree766ed8aead80bc0b55e34b32f0d1df3d93a23de0 /package/package.pro
parent978d3cc5cc0a38876f880cf2967cc97e25099692 (diff)
move hvac app and hvac plugin to new repository
$ qmake && make will generate package/hvac.wgt Change-Id: I67057f1f3b511a3af4a22aedd32f6614dc56b503 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
Diffstat (limited to 'package/package.pro')
-rw-r--r--package/package.pro21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/package.pro b/package/package.pro
new file mode 100644
index 0000000..3ee8fa3
--- /dev/null
+++ b/package/package.pro
@@ -0,0 +1,21 @@
+
+DISTFILES = icon.svg config.xml
+
+!equals($$_PRO_FILE_PWD_, $$OUT_PWD) {
+ copy_icon.target = $$OUT_PWD/root/icon.svg
+ copy_icon.depends = $$_PRO_FILE_PWD_/icon.svg
+ copy_icon.commands = $(COPY_FILE) \"$$replace(copy_icon.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_icon.target, /, $$QMAKE_DIR_SEP)\"
+ QMAKE_EXTRA_TARGETS += copy_icon
+ PRE_TARGETDEPS += $$copy_icon.target
+
+ copy_config.target = $$OUT_PWD/root/config.xml
+ copy_config.depends = $$_PRO_FILE_PWD_/config.xml
+ copy_config.commands = $(COPY_FILE) \"$$replace(copy_config.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_config.target, /, $$QMAKE_DIR_SEP)\"
+ QMAKE_EXTRA_TARGETS += copy_config
+ PRE_TARGETDEPS += $$copy_config.target
+}
+
+wgt.target = package
+wgt.commands = wgtpkg-pack -f -o hvac.wgt root
+
+QMAKE_EXTRA_TARGETS += wgt