diff options
author | David Cole <david.cole@kitware.com> | 2012-02-22 12:25:43 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2012-02-22 12:29:32 (GMT) |
commit | 22021f07f80163979e8dedfcefccee53f4693fae (patch) | |
tree | c8ce78bc32b014d398a370faefa271273bffb6bc /Source/cmMakefile.cxx | |
parent | 9106b564ae5bf0bf1c1ff4a3fca484bcfd40e183 (diff) | |
download | CMake-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/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 24 |
1 files changed, 0 insertions, 24 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); |