A patch update will be applied today - June 21st between 1pm - 1:45pm EDT (UTC-0400). GitLab will go down a few minutes within that time.

Commit 22021f07 authored by David Cole's avatar David Cole
Browse files

Remove cmMakefile::GetIncludeDirectories

After making the changes to use the new target level INCLUDE_DIRECTORIES
property, there are no more callers of this method.
parent 9106b564
......@@ -1659,30 +1659,6 @@ void cmMakefile::AddIncludeDirectory(const char* inc, bool before)
}
}
//----------------------------------------------------------------------------
std::vector<std::string> cmMakefile::GetIncludeDirectories()
{
std::vector<std::string> includes;
const char *val = this->GetProperty("INCLUDE_DIRECTORIES");
if(val)
{
cmSystemTools::ExpandListArgument(val, includes);
}
std::set<std::string> uniqueIncludes;
std::vector<std::string> orderedAndUniqueIncludes;
for(std::vector<std::string>::const_iterator
li = includes.begin(); li != includes.end(); ++li)
{
if(uniqueIncludes.insert(*li).second)
{
orderedAndUniqueIncludes.push_back(*li);
}
}
return orderedAndUniqueIncludes;
}
//----------------------------------------------------------------------------
void cmMakefile::AddSystemIncludeDirectory(const char* dir)
{
......
......@@ -521,11 +521,6 @@ public:
returned may be imported or built within the project. */
cmTarget* FindTargetToUse(const char* name);
/**
* Get a list of include directories in the build.
*/
std::vector<std::string> GetIncludeDirectories();
/**
* Mark include directories as system directories.
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment