Should I filter out some default directories, because they are searched anyway ? If yes, I guess there’s some cmake variable which contains those system directories ?
Ok, the code in the branch already skips duplicates.
Is TARGET_RUNTIME_DLL_PATHS a good name, or would TARGET_RUNTIME_DLL_DIRS be better ?
Or some other name ?
Your suggestion is exactly what I was looking for reading up the generator expressions available to populate VS_DEBUGGER_ENVIRONMENT on test executables.
Can’t wait to see this in a release!
(Regarding names, I like the suggested TARGET_RUNTIME_DLL_PATHS)