summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-06-10 12:41:47 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-06-10 12:41:47 (GMT)
commit708828dc3761cc009f5ea479e6012ca1193e7e60 (patch)
treef813ac450a1d47b8b824ee35e35fa0937c6774bc /Source/cmGlobalUnixMakefileGenerator3.cxx
parent8b88391daa911db4829e45217e4d73c5d7df44c0 (diff)
downloadCMake-708828dc3761cc009f5ea479e6012ca1193e7e60.zip
CMake-708828dc3761cc009f5ea479e6012ca1193e7e60.tar.gz
CMake-708828dc3761cc009f5ea479e6012ca1193e7e60.tar.bz2
ENH: removed old convert calls
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx
index c225f43..8c3c997 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.cxx
+++ b/Source/cmGlobalUnixMakefileGenerator3.cxx
@@ -290,12 +290,14 @@ void cmGlobalUnixMakefileGenerator3::WriteMainCMakefile()
cmakefileStream
<< "# The top level Makefile was generated from the following files:\n"
<< "SET(CMAKE_MAKEFILE_DEPENDS\n"
- << " \"" << lg->ConvertToRelativePath(cache.c_str()).c_str() << "\"\n";
+ << " \"" << lg->Convert(cache.c_str(),
+ cmLocalGenerator::START_OUTPUT).c_str() << "\"\n";
for(std::vector<std::string>::const_iterator i = lfiles.begin();
i != lfiles.end(); ++i)
{
cmakefileStream
- << " \"" << lg->ConvertToRelativePath(i->c_str()).c_str()
+ << " \"" << lg->Convert(i->c_str(),
+ cmLocalGenerator::START_OUTPUT).c_str()
<< "\"\n";
}
cmakefileStream
@@ -309,8 +311,10 @@ void cmGlobalUnixMakefileGenerator3::WriteMainCMakefile()
cmakefileStream
<< "# The corresponding makefile is:\n"
<< "SET(CMAKE_MAKEFILE_OUTPUTS\n"
- << " \"" << lg->ConvertToRelativePath(makefileName.c_str()).c_str() << "\"\n"
- << " \"" << lg->ConvertToRelativePath(check.c_str()).c_str() << "\"\n";
+ << " \"" << lg->Convert(makefileName.c_str(),
+ cmLocalGenerator::START_OUTPUT).c_str() << "\"\n"
+ << " \"" << lg->Convert(check.c_str(),
+ cmLocalGenerator::START_OUTPUT).c_str() << "\"\n";
// add in all the directory information files
std::string tmpStr;