summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2007-02-23 14:46:27 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2007-02-23 14:46:27 (GMT)
commit8ad343093179035fa8ad9136e8e8f72fc3804dd2 (patch)
tree35c34abc3af73da857cffea26f0c4eeb2872369b /Source/cmLocalGenerator.cxx
parent440bbf08711e9a784f90f1d2541e5d204807161a (diff)
downloadCMake-8ad343093179035fa8ad9136e8e8f72fc3804dd2.zip
CMake-8ad343093179035fa8ad9136e8e8f72fc3804dd2.tar.gz
CMake-8ad343093179035fa8ad9136e8e8f72fc3804dd2.tar.bz2
ENH: Make EXCLUDE_FROM_ALL a target and directory properties. Also, make IsInAll use EXCLUDE_FROM_ALL. Also, enable the test that tests this
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");
+}