diff options
author | tiansen <tian_sen@dl.cn.nexty-ele.com> | 2018-11-02 20:16:20 +0800 |
---|---|---|
committer | tiansen <tian_sen@dl.cn.nexty-ele.com> | 2018-11-02 20:16:20 +0800 |
commit | de4e4f75c59b1da4de91a75b3ab7b94d0ab8335f (patch) | |
tree | 16e4181f175748a5aff3f91b48449c37ec361e7a /package/package.pro | |
parent | ec044f44133cad1d12311345437b13b1a953226e (diff) |
restriction for ces2019sandbox/tiansen/ces2019_restrication
Diffstat (limited to 'package/package.pro')
-rw-r--r-- | package/package.pro | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/package.pro b/package/package.pro new file mode 100644 index 0000000..af8e627 --- /dev/null +++ b/package/package.pro @@ -0,0 +1,18 @@ +DISTFILES = icon.svg config.xml + +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 restriction.wgt root + +QMAKE_EXTRA_TARGETS += wgt |