summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-03-12 14:26:59 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-03-12 14:26:59 (GMT)
commitb99129d2d81a494055d40443e8e044c9db4ca807 (patch)
tree07cbf0e96e3cb1480e182f5bbbf860d2224beade /Source/cmLocalGenerator.cxx
parentcf7eeab37aa644a0a09cb40e8958d99e8d771857 (diff)
downloadCMake-b99129d2d81a494055d40443e8e044c9db4ca807.zip
CMake-b99129d2d81a494055d40443e8e044c9db4ca807.tar.gz
CMake-b99129d2d81a494055d40443e8e044c9db4ca807.tar.bz2
ENH: some code cleanup
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx12
1 files changed, 1 insertions, 11 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 33753c7..1d5df5d 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -409,7 +409,7 @@ void cmLocalGenerator::GenerateInstallRules()
for(std::vector<cmLocalGenerator*>::const_iterator
ci = this->Children.begin(); ci != this->Children.end(); ++ci)
{
- if(!(*ci)->GetExcludeAll())
+ if(!(*ci)->GetMakefile()->GetProperty("EXCLUDE_FROM_ALL"))
{
std::string odir = (*ci)->GetMakefile()->GetStartOutputDirectory();
cmSystemTools::ConvertToUnixSlashes(odir);
@@ -2610,13 +2610,3 @@ 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");
-}