diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-11-02 14:15:34 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-11-02 14:19:37 +0100 |
commit | 381098a607f2a02400d472198817f182f43725fd (patch) | |
tree | 533997b77b4a0833cf6cd7c4f49b84fc978ce3cf /cmake/cmake.d | |
parent | 8c250308bce289b25007502d6be5c4a0e13d6159 (diff) |
Fix: missing files in test widget
Adds the config.xml file and the test launcher script in the widget when
built using the test_widget target. Without config.xml file the widget
can't be installed.
Change-Id: Iaedfcef49ae0d6748e55f6fa5e07d373124ed078
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake/cmake.d')
-rw-r--r-- | cmake/cmake.d/03-macros.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/cmake.d/03-macros.cmake b/cmake/cmake.d/03-macros.cmake index 651e3d7..0a94564 100644 --- a/cmake/cmake.d/03-macros.cmake +++ b/cmake/cmake.d/03-macros.cmake @@ -608,7 +608,9 @@ You need a config.xml template: please specify WIDGET_CONFIG_TEMPLATE correctly. add_custom_target(packaging_wgt DEPENDS ${PROJECT_PKG_BUILD_DIR}/config.xml) add_custom_target(widget DEPENDS ${WGT_NAME}.wgt) add_custom_target(packaging_test_wgt DEPENDS ${PROJECT_PKG_TEST_DIR}/config.xml ${PROJECT_PKG_TEST_DIR}/bin/launcher) - add_custom_target(test_widget DEPENDS ${WGT_NAME}-test.wgt) + add_custom_target(test_widget DEPENDS ${WGT_NAME}-test.wgt + ${PROJECT_PKG_TEST_DIR}/config.xml + ${PROJECT_PKG_TEST_DIR}/bin/launcher) endif() add_dependencies(widget populate packaging_wgt) |