diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-05-13 13:54:30 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-05-13 13:54:30 (GMT) |
commit | 8c651793398848063945ab94e4e5f50c6bd7aaf8 (patch) | |
tree | 33f7bb6fbb7c77a523bb4e3bd413ea166152dfed /Source/cmGlobalGenerator.cxx | |
parent | 9e5315fb5488830543d90da7c72ba012927e7323 (diff) | |
download | CMake-8c651793398848063945ab94e4e5f50c6bd7aaf8.zip CMake-8c651793398848063945ab94e4e5f50c6bd7aaf8.tar.gz CMake-8c651793398848063945ab94e4e5f50c6bd7aaf8.tar.bz2 |
ENH: warning fixes and some first steps in cleaning up the convert code
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index bb0d152..5158cf0 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -491,12 +491,6 @@ void cmGlobalGenerator::ClearEnabledLanguages() void cmGlobalGenerator::Configure() { - // Setup the current output directory components for use by - // ConvertToRelativePath. - std::string outdir = - cmSystemTools::CollapseFullPath(m_CMakeInstance->GetHomeOutputDirectory()); - cmSystemTools::SplitPath(outdir.c_str(), m_HomeOutputDirectoryComponents); - // Delete any existing cmLocalGenerators unsigned int i; for (i = 0; i < m_LocalGenerators.size(); ++i) @@ -1094,19 +1088,3 @@ void cmGlobalGenerator::SetupTests() } } } - - -//---------------------------------------------------------------------------- -std::string cmGlobalGenerator::ConvertToHomeRelativePath(const char* remote) -{ - return (this->ConvertToRelativePath(m_HomeOutputDirectoryComponents,remote)); -} - -//---------------------------------------------------------------------------- -std::string -cmGlobalGenerator::ConvertToHomeRelativeOutputPath(const char* remote) -{ - return cmSystemTools::ConvertToOutputPath - (this->ConvertToRelativePath(m_HomeOutputDirectoryComponents,remote).c_str()); -} - |