diff options
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index de216f3..e12870b 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -60,10 +60,10 @@ public: /** * Indicate whether the target is part of the all target */ - bool IsInAll() { return this->GetPropertyAsBool("IN_ALL"); } - bool GetInAll() { return this->GetPropertyAsBool("IN_ALL"); } + bool IsInAll() { return !this->GetPropertyAsBool("EXCLUDE_FROM_ALL"); } + bool GetInAll() { return !this->GetPropertyAsBool("EXCLUDE_FROM_ALL"); } void SetInAll(bool f) { - this->SetProperty("IN_ALL", (f) ?"TRUE" : "FALSE"); } + this->SetProperty("EXCLUDE_FROM_ALL", (f) ?"FALSE" : "TRUE"); } ///! Set the cmMakefile that owns this target void SetMakefile(cmMakefile *mf); |