run-clang-tidy checks each source file N times on Multi-Config generator projects?

OK I will add a lint CMAKE_BUILD_TYPE with co-compile clang-tidy.

But I expect to check than the files only while build this lint type?

While daily development, I have no time to run alway this clang-tidy, which takes to long time!

My usual workflow is: code a little, test, run-clang-tidy, spellcheck, clang-format, and commit .