diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-12 16:34:12 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-12 21:10:45 (GMT) |
commit | ea819b29f8735ca09242cc646a7b25e933bc913c (patch) | |
tree | 2c68276136ff1b9da0d459a97f3b382e76802ee6 /Source/cmMakefile.cxx | |
parent | 6ad86c7fc4167561c7c13c28482a5fea0fe9d70b (diff) | |
download | CMake-ea819b29f8735ca09242cc646a7b25e933bc913c.zip CMake-ea819b29f8735ca09242cc646a7b25e933bc913c.tar.gz CMake-ea819b29f8735ca09242cc646a7b25e933bc913c.tar.bz2 |
cmMakefile: Remove unused method.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index ec0a165..35fdd0c 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1676,33 +1676,6 @@ void cmMakefile::ConfigureSubDirectory(cmLocalGenerator *lg2) } } -void cmMakefile::AddSubDirectory(const std::string& sub, - bool excludeFromAll) -{ - // the source path must be made full if it isn't already - std::string srcPath = sub; - if (!cmSystemTools::FileIsFullPath(srcPath.c_str())) - { - srcPath = this->GetCurrentDirectory(); - srcPath += "/"; - srcPath += sub; - } - - // binary path must be made full if it isn't already - std::string binPath = sub; - if (!cmSystemTools::FileIsFullPath(binPath.c_str())) - { - binPath = this->GetCurrentOutputDirectory(); - binPath += "/"; - binPath += sub; - } - - - this->AddSubDirectory(srcPath, binPath, - excludeFromAll, false); -} - - void cmMakefile::AddSubDirectory(const std::string& srcPath, const std::string& binPath, bool excludeFromAll, |