cmMakefile: Remove ExpandSourceListArguments.

This commit is contained in:
Stephen Kelly 2015-01-25 14:26:57 +01:00
parent bd990c803b
commit 3f3db74413
2 changed files with 0 additions and 24 deletions

View File

@ -3576,19 +3576,6 @@ void cmMakefile::EnableLanguage(std::vector<std::string> const & lang,
optional); 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, int cmMakefile::TryCompile(const std::string& srcdir,
const std::string& bindir, const std::string& bindir,
const std::string& projectName, const std::string& projectName,

View File

@ -599,17 +599,6 @@ public:
*/ */
void AddSystemIncludeDirectories(const std::set<std::string> &incs); 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 /** Get a cmSourceFile pointer for a given source name, if the name is
* not found, then a null pointer is returned. * not found, then a null pointer is returned.
*/ */