ENH: Switched order of slash and configuration name in cmGlobalGenerator::AppendDirectoryForConfig method to increase flexibility.
This commit is contained in:
parent
518080136d
commit
c21287552b
|
@ -495,7 +495,7 @@ cmGlobalVisualStudio6Generator
|
|||
{
|
||||
if(config)
|
||||
{
|
||||
dir += "/";
|
||||
dir += config;
|
||||
dir += "/";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -717,7 +717,7 @@ cmGlobalVisualStudio7Generator
|
|||
{
|
||||
if(config)
|
||||
{
|
||||
dir += "/";
|
||||
dir += config;
|
||||
dir += "/";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2309,8 +2309,8 @@ cmGlobalXCodeGenerator
|
|||
{
|
||||
if(config)
|
||||
{
|
||||
dir += "/";
|
||||
dir += config;
|
||||
dir += "/";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue