Test widget only if there are test materials 89/16089/3
authorRomain Forlot <romain.forlot@iot.bzh>
Fri, 10 Aug 2018 10:08:53 +0000 (12:08 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Mon, 13 Aug 2018 08:04:33 +0000 (08:04 +0000)
commit85d5ffd288a652481c801799a0895f2fcb5de323
tree6ace44745e73b4c81196aaa06ba53a5251bebcbb
parentd14bdceab76e81c3807e4b75c613276f9f5369b8
Test widget only if there are test materials

This checks if there is a target with a TEST LABELS property which
would indicate that there is something to pack in the test widget,
else it would generate an empty and useless test widget.

Change-Id: If2a3eb32762f5d62877ea19faed70d4b6e68a0a0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
cmake/cmake.d/03-macros.cmake