summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-25 13:26:57 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-02-05 19:44:25 (GMT)
commit3f3db74413fc6b0afe4aa484c0ada2d5271ef0ba (patch)
treea9b04a326997dea07cdea400328130d2e9de1be7 /Source
parentbd990c803b40e1532cab6b29c75414ca6f30e782 (diff)
downloadCMake-3f3db74413fc6b0afe4aa484c0ada2d5271ef0ba.zip
CMake-3f3db74413fc6b0afe4aa484c0ada2d5271ef0ba.tar.gz
CMake-3f3db74413fc6b0afe4aa484c0ada2d5271ef0ba.tar.bz2
cmMakefile: Remove ExpandSourceListArguments.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx13
-rw-r--r--Source/cmMakefile.h11
2 files changed, 0 insertions, 24 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index ba914e1..e709b9f 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -3576,19 +3576,6 @@ void cmMakefile::EnableLanguage(std::vector<std::string> const & lang,
optional);
}
-void cmMakefile::ExpandSourceListArguments(
- std::vector<std::string> const& arguments,
- std::vector<std::string>& 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 bff8c12..5f22485 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -599,17 +599,6 @@ public:
*/
void AddSystemIncludeDirectories(const std::set<std::string> &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<std::string> const& argsIn,
- std::vector<std::string>& 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.
*/