target.GetDirectory(configName). (cmLocalVisualStudio7Generator::OutputBuildTool() ~ line 953) The cmTarget::GetDirectory() calls cmGlobalVisualStudio7Generator::AppendDirectoryForConfig() when a config name is passed in The cmGlobalVisualStudio7Generator::AppendDirectoryForConfig() implementation always appends the name.