diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-11-19 21:47:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-01-03 18:45:40 (GMT) |
commit | 18a3195ad57cafd06851ecf4cb7265cab95cfa38 (patch) | |
tree | cf7c122414198cdcada824f567f1b3c6bec7c00f /Source/cmTarget.h | |
parent | 76ea420fb9a8ceada0e806f1201230e5a7c1202c (diff) | |
download | CMake-18a3195ad57cafd06851ecf4cb7265cab95cfa38.zip CMake-18a3195ad57cafd06851ecf4cb7265cab95cfa38.tar.gz CMake-18a3195ad57cafd06851ecf4cb7265cab95cfa38.tar.bz2 |
Keep track of INCLUDE_DIRECTORIES as a vector of structs.
The struct can keep track of where the include came from, which gives
us proper backtraces.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 0dfbc68..3f36050 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -15,6 +15,7 @@ #include "cmCustomCommand.h" #include "cmPropertyMap.h" #include "cmPolicies.h" +#include "cmMakefileIncludeDirectoriesEntry.h" #include <cmsys/auto_ptr.hxx> @@ -470,6 +471,9 @@ public: /** @return the Mac framework directory without the base. */ std::string GetFrameworkDirectory(const char* config = 0); + std::vector<std::string> GetIncludeDirectories(const char *config); + void InsertInclude(const cmMakefileIncludeDirectoriesEntry &entry, + bool before = false); private: /** * A list of direct dependencies. Use in conjunction with DependencyMap. |