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

@@ -9,6 +9,7 @@ set(example_srcs
# Metatarget for all examples:
add_custom_target(nvbench.example.all)
add_dependencies(nvbench.all nvbench.example.all)
foreach(example_src IN LISTS example_srcs)
get_filename_component(example_name "${example_src}" NAME_WLE)