summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2013-02-11 22:20:00 (GMT)
committerBrad King <brad.king@kitware.com>2013-02-19 19:44:57 (GMT)
commit674bd6e7788f9e6ff35c0082c9c85e9aa83b642d (patch)
tree59d9ba014199e9b7252cee9f170c60768ed5bd25 /Source/cmMakefile.h
parent4760eade425e8e294ac9400785ffce70912d5b43 (diff)
parent3e7bba3fb2d431b512181e99c6333e9dfdc8a9fd (diff)
downloadCMake-674bd6e7788f9e6ff35c0082c9c85e9aa83b642d.zip
CMake-674bd6e7788f9e6ff35c0082c9c85e9aa83b642d.tar.gz
CMake-674bd6e7788f9e6ff35c0082c9c85e9aa83b642d.tar.bz2
Merge branch 'master' into sublime-text-2-generator
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index a85015f..a2783f2 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -287,7 +287,8 @@ public:
/**
* Add an include directory to the build.
*/
- void AddIncludeDirectory(const char*, bool before = false);
+ void AddIncludeDirectories(const std::vector<std::string> &incs,
+ bool before = false);
/**
* Add a variable definition to the build. This variable
@@ -545,7 +546,7 @@ public:
/**
* Mark include directories as system directories.
*/
- void AddSystemIncludeDirectory(const char* dir);
+ void AddSystemIncludeDirectories(const std::set<cmStdString> &incs);
bool IsSystemIncludeDirectory(const char* dir);
/** Expand out any arguements in the vector that have ; separated
@@ -869,6 +870,9 @@ public:
return this->IncludeDirectoriesEntries;
}
+ bool IsGeneratingBuildSystem(){ return this->GeneratingBuildSystem; }
+ void SetGeneratingBuildSystem(){ this->GeneratingBuildSystem = true; }
+
protected:
// add link libraries and directories to the target
void AddGlobalLinkInformation(const char* name, cmTarget& target);
@@ -1018,6 +1022,9 @@ private:
// Enforce rules about CMakeLists.txt files.
void EnforceDirectoryLevelRules();
+
+ bool GeneratingBuildSystem;
+
};
//----------------------------------------------------------------------------