ENH: Switched order of slash and configuration name in cmGlobalGenerator::AppendDirectoryForConfig method to increase flexibility.

This commit is contained in:
Brad King 2006-02-19 19:28:53 -05:00
parent 518080136d
commit c21287552b
4 changed files with 4 additions and 4 deletions

View File

@ -495,7 +495,7 @@ cmGlobalVisualStudio6Generator
{
if(config)
{
dir += "/";
dir += config;
dir += "/";
}
}

View File

@ -717,7 +717,7 @@ cmGlobalVisualStudio7Generator
{
if(config)
{
dir += "/";
dir += config;
dir += "/";
}
}

View File

@ -2309,8 +2309,8 @@ cmGlobalXCodeGenerator
{
if(config)
{
dir += "/";
dir += config;
dir += "/";
}
}
}

View File

@ -1064,13 +1064,13 @@ std::string cmTarget::GetFullPath(const char* config, bool implib)
{
// Start with the output directory for the target.
std::string fpath = this->GetDirectory();
fpath += "/";
// Add the configuration's subdirectory.
m_Makefile->GetLocalGenerator()->GetGlobalGenerator()->
AppendDirectoryForConfig(config, fpath);
// Add the full name of the target.
fpath += "/";
fpath += this->GetFullName(config, implib);
return fpath;
}