summaryrefslogtreecommitdiffstats
path: root/Source/cmDepends.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-05-08 14:09:14 (GMT)
committerBrad King <brad.king@kitware.com>2008-05-08 14:09:14 (GMT)
commit12935b1599a2186950db644ff336aca16d725da0 (patch)
treea3ca5b852b4896ab4849dba8a7fb20f1182e7d42 /Source/cmDepends.h
parent92198d6b37c26ad5fa41f8cbed28e35af15db1cc (diff)
downloadCMake-12935b1599a2186950db644ff336aca16d725da0.zip
CMake-12935b1599a2186950db644ff336aca16d725da0.tar.gz
CMake-12935b1599a2186950db644ff336aca16d725da0.tar.bz2
ENH: Light refactoring of implicit dependency scanning configuration implementation.
- Move lookup of config variables from cmLocalUnixMakefileGenerator3 to cmDepends hierarchy.
Diffstat (limited to 'Source/cmDepends.h')
-rw-r--r--Source/cmDepends.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmDepends.h b/Source/cmDepends.h
index b9ebdf9..75afaaf 100644
--- a/Source/cmDepends.h
+++ b/Source/cmDepends.h
@@ -34,7 +34,7 @@ class cmDepends
public:
/** Instances need to know the build directory name and the relative
path from the build directory to the target file. */
- cmDepends();
+ cmDepends(cmLocalGenerator* lg=0, const char* targetDir="");
/** at what level will the compile be done from */
void SetCompileDirectory(const char *dir) {this->CompileDirectory = dir;};
@@ -108,6 +108,11 @@ protected:
char* Dependee;
char* Depender;
+ // The include file search path.
+ std::vector<std::string> IncludePath;
+
+ void SetIncludePathFromLanguage(const char* lang);
+
private:
cmDepends(cmDepends const&); // Purposely not implemented.
void operator=(cmDepends const&); // Purposely not implemented.