From 3f3db74413fc6b0afe4aa484c0ada2d5271ef0ba Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 25 Jan 2015 14:26:57 +0100 Subject: [PATCH] cmMakefile: Remove ExpandSourceListArguments. --- Source/cmMakefile.cxx | 13 ------------- Source/cmMakefile.h | 11 ----------- 2 files changed, 24 deletions(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index ba914e151..e709b9fbd 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -3576,19 +3576,6 @@ void cmMakefile::EnableLanguage(std::vector const & lang, optional); } -void cmMakefile::ExpandSourceListArguments( - std::vector const& arguments, - std::vector& newargs, unsigned int /* start */) const -{ - // now expand the args - unsigned int i; - for(i = 0; i < arguments.size(); ++i) - { - // List expansion will have been done already. - newargs.push_back(arguments[i]); - } -} - int cmMakefile::TryCompile(const std::string& srcdir, const std::string& bindir, const std::string& projectName, diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index bff8c1288..5f2248569 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -599,17 +599,6 @@ public: */ void AddSystemIncludeDirectories(const std::set &incs); - /** Expand out any arguements in the vector that have ; separated - * strings into multiple arguements. A new vector is created - * containing the expanded versions of all arguments in argsIn. - * This method differes from the one in cmSystemTools in that if - * the CmakeLists file is version 1.2 or earlier it will check for - * source lists being used without ${} around them - */ - void ExpandSourceListArguments(std::vector const& argsIn, - std::vector& argsOut, - unsigned int startArgumentIndex) const; - /** Get a cmSourceFile pointer for a given source name, if the name is * not found, then a null pointer is returned. */