Allow to add sub-sub directories in examples

Change-Id: I1c8962511486181dc5358b4ee3f3c7a00a8f174c
Reviewed-by: James Turner <james.turner@kdab.com>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>