summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-02-22 12:25:43 (GMT)
committerDavid Cole <david.cole@kitware.com>2012-02-22 12:29:32 (GMT)
commit22021f07f80163979e8dedfcefccee53f4693fae (patch)
treec8ce78bc32b014d398a370faefa271273bffb6bc /Source
parent9106b564ae5bf0bf1c1ff4a3fca484bcfd40e183 (diff)
downloadCMake-22021f07f80163979e8dedfcefccee53f4693fae.zip
CMake-22021f07f80163979e8dedfcefccee53f4693fae.tar.gz
CMake-22021f07f80163979e8dedfcefccee53f4693fae.tar.bz2
Remove cmMakefile::GetIncludeDirectories
After making the changes to use the new target level INCLUDE_DIRECTORIES property, there are no more callers of this method.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx24
-rw-r--r--Source/cmMakefile.h5
2 files changed, 0 insertions, 29 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 6290412..818bb1b 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -1660,30 +1660,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)
{
this->SystemIncludeDirectories.insert(dir);
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 5e5310f..c2939fb 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -522,11 +522,6 @@ public:
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.
*/
void AddSystemIncludeDirectory(const char* dir);