summaryrefslogtreecommitdiffstats
path: root/template/etc/macros.cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-03 10:46:24 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:21:42 +0200
commit33d92c375f3a85e899f681c82edaa677f26c1b10 (patch)
tree6c1b63d3149ace93cec9109ddb78e0ff03d1f606 /template/etc/macros.cmake
parent8cb9e63d3401a1b90858ef4f7e985c94686435e5 (diff)
Adding widget file to files to be cleaned at 'make clean' step.
Change-Id: I92e9f386be78b0725e07fb4918ad1d52de5044ff Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'template/etc/macros.cmake')
-rw-r--r--template/etc/macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/etc/macros.cmake b/template/etc/macros.cmake
index 7bacc7f..4c2b64c 100644
--- a/template/etc/macros.cmake
+++ b/template/etc/macros.cmake
@@ -124,6 +124,7 @@ macro(build_widget)
COMMAND wgtpkg-pack -f -o ${PROJECT_NAME}.wgt ${WIDGET_DIR}
)
add_custom_target(widget DEPENDS ${PROJECT_NAME}.wgt)
+ set(ADDITIONAL_MAKE_CLEAN_FILES, "${PROJECT_NAME}.wgt")
else()
MESSAGE(FATAL_ERROR "Widget tree empty, please populate it by calling populate_widget() macro with target you want to include into it.")
endif("${PROJECT_TARGETS}" MATCHES "populate_")
@@ -255,4 +256,3 @@ if(CLOSING_MESSAGE AND GLOBAL_TARGET_LIST)
)
endif()
-set(ADDITIONAL_MAKE_CLEAN_FILES, "low-can-binding/low-can-binding.wgt")