diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-06-10 12:41:47 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-06-10 12:41:47 (GMT) |
commit | 708828dc3761cc009f5ea479e6012ca1193e7e60 (patch) | |
tree | f813ac450a1d47b8b824ee35e35fa0937c6774bc /Source/cmLocalGenerator.cxx | |
parent | 8b88391daa911db4829e45217e4d73c5d7df44c0 (diff) | |
download | CMake-708828dc3761cc009f5ea479e6012ca1193e7e60.zip CMake-708828dc3761cc009f5ea479e6012ca1193e7e60.tar.gz CMake-708828dc3761cc009f5ea479e6012ca1193e7e60.tar.bz2 |
ENH: removed old convert calls
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index a76fc2a..b8267d6 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -481,7 +481,6 @@ void cmLocalGenerator::AddCustomCommandToCreateObject(const char* ofname, cmSourceFile& source, cmTarget& ) { - // std::string objectFile = this->ConvertToRelativeOutputPath(ofname); std::string objectFile = this->Convert(ofname,START_OUTPUT,SHELL); std::string sourceFile = this->Convert(source.GetFullPath().c_str(),START_OUTPUT,SHELL,true); @@ -1440,29 +1439,6 @@ cmLocalGenerator::ConstructScript(const cmCustomCommandLines& commandLines, } //---------------------------------------------------------------------------- -std::string cmLocalGenerator::ConvertToRelativePath(const char* remote) -{ - return this->Convert(remote,START_OUTPUT); -} - -//---------------------------------------------------------------------------- -std::string -cmLocalGenerator::ConvertToRelativeOutputPath(const char* remote) -{ - // TODO: Make this behave like its documentation...always convert. - // This involves identifying all calls to it that should be calls to - // the optional one. - return this->ConvertToOptionallyRelativeOutputPath(remote); -} - -//---------------------------------------------------------------------------- -std::string -cmLocalGenerator::ConvertToOptionallyRelativePath(const char* remote) -{ - return this->Convert(remote, START_OUTPUT, UNCHANGED, true); -} - -//---------------------------------------------------------------------------- std::string cmLocalGenerator::ConvertToOptionallyRelativeOutputPath(const char* remote) { |