nvbench
nvbench copied to clipboard
Make nvbench targets use SYSTEM includes
When using nvbench::main in a target, nvbench adds an include path for nvbench using -I instead of -isystem. This causes tools like clang-tidy to pick up nvbench as outside of the system scope, and subsequently all the dependencies of nvbench are picked up too (libfmt, for example).
#42 will get us part of the way there, by adding the ability to do find_package(NVBench) and produce proper imported targets, which will provide system includes by default.
Additional work is needed for add_subdirectory, and I need to check which method will be used by things like CPM.