ENH: removed TARGET_DIR_PREFIX support

This commit is contained in:
Ken Martin 2005-12-13 15:13:17 -05:00
parent fa3120a4a5
commit 0b69b892ed

View File

@ -1436,11 +1436,6 @@ void cmLocalVisualStudio7Generator::ConfigureFinalPass()
std::string cmLocalVisualStudio7Generator::GetTargetDirectory(cmTarget& target) std::string cmLocalVisualStudio7Generator::GetTargetDirectory(cmTarget& target)
{ {
std::string dir; std::string dir;
// Put a prefix on the name if one is given by the CMake code.
if(const char* prefix = m_Makefile->GetDefinition("CMAKE_TARGET_DIR_PREFIX"))
{
dir = prefix;
}
dir += target.GetName(); dir += target.GetName();
dir += ".dir"; dir += ".dir";
return dir; return dir;