Add nvbench.all metatarget.

This builds all NVBench tests and examples without building targets in
any parent projects.
This commit is contained in:
Allison Vacanti
2021-03-18 13:33:23 -04:00
parent 94bf208701
commit ea53972af8
4 changed files with 7 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ set(test_srcs
# Metatarget for all examples:
add_custom_target(nvbench.test.all)
add_dependencies(nvbench.all nvbench.test.all)
foreach(test_src IN LISTS test_srcs)
get_filename_component(test_name "${test_src}" NAME_WLE)