summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-03-08 20:13:15 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-03-08 20:13:15 (GMT)
commit580171185bac5d23f34f0658b3740973818989b1 (patch)
treec697492a78256caf46fee7be9b716723da24bebc /Source/cmMakefile.h
parent3a36fa99715df39ae8fe5deabf000df201682136 (diff)
parentd662dff7690ae4a3b22947f07de4fc952c33e568 (diff)
downloadCMake-580171185bac5d23f34f0658b3740973818989b1.zip
CMake-580171185bac5d23f34f0658b3740973818989b1.tar.gz
CMake-580171185bac5d23f34f0658b3740973818989b1.tar.bz2
Merge topic 'target-include-directories'
d662dff Fix shadowed variable warning on dashboard results f66e735 Fix compiler warning reported on older Borland dashboard. d90eed4 Fix compiler error reported on older Borland dashboard. 8233636 Update the documentation regarding INCLUDE_DIRECTORIES. d899eb7 Call ExpandVariablesInString for each target's INCLUDE_DIRECTORIES c21db87 Make search paths ordered and unique 22021f0 Remove cmMakefile::GetIncludeDirectories 9106b56 Extract and use the INCLUDE_DIRECTORIES target properties. 840509b Keep the INCLUDE_DIRECTORIES target property up to date. a4d5f7b Add API to get the ordered includes for a target. 8adaee2 CMake: Eliminate cmMakefile::IncludeDirectories 7620932 Remove include flags memoization. 97a5faa Make it safe to call this method without creating duplicates. edd5303 Refactor GetIncludeFlags to take includes instead of fetching them
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index f1f318a..960ba39 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -522,22 +522,6 @@ public:
cmTarget* FindTargetToUse(const char* name);
/**
- * Get a list of include directories in the build.
- */
- std::vector<std::string>& GetIncludeDirectories()
- {
- return this->IncludeDirectories;
- }
- const std::vector<std::string>& GetIncludeDirectories() const
- {
- return this->IncludeDirectories;
- }
- void SetIncludeDirectories(const std::vector<std::string>& vec)
- {
- this->IncludeDirectories = vec;
- }
-
- /**
* Mark include directories as system directories.
*/
void AddSystemIncludeDirectory(const char* dir);
@@ -874,9 +858,7 @@ protected:
// Tests
std::map<cmStdString, cmTest*> Tests;
- // The include and link-library paths. These may have order
- // dependency, so they must be vectors (not set).
- std::vector<std::string> IncludeDirectories;
+ // The link-library paths. Order matters, use std::vector (not std::set).
std::vector<std::string> LinkDirectories;
// The set of include directories that are marked as system include