summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index ec1554e..3c27da9 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -36,7 +36,6 @@ cmLocalGenerator::cmLocalGenerator()
{
this->Makefile = new cmMakefile;
this->Makefile->SetLocalGenerator(this);
- this->ExcludeFromAll = false;
this->Parent = 0;
this->WindowsShell = false;
this->WindowsVSIDE = false;
@@ -2407,3 +2406,13 @@ std::string cmLocalGenerator::GetSourceObjectName(cmSourceFile& sf)
{
return sf.GetSourceName();
}
+
+bool cmLocalGenerator::GetExcludeAll()
+{
+ return this->Makefile->GetPropertyAsBool("EXCLUDE_FROM_ALL");
+}
+
+void cmLocalGenerator::SetExcludeAll(bool b)
+{
+ this->Makefile->SetProperty("EXCLUDE_FROM_ALL", b?"TRUE":"FALSE");
+}