Skip to content

Add new generator expression TARGET_RUNTIME_DLL_PATHS

Alexander Neundorf requested to merge neundorf/cmake:TargetRunTimeDllPath into master

This generator expression can be used to create e.g. a batch file which presets the PATH variable with all necessary directories for all dlls linked by an executable.

I think it is working correctly. I'm not sure it's the best name for it. Would TARGET_RUNTIME_DLL_DIRS better ? Or some other name ?

Also, I extended the test for TARGET_RUNTIME_DLLS, and it runs successfully. But I could never make the test fail... :-/

Merge request reports