summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-05-04 19:50:26 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-05-04 19:50:26 (GMT)
commit089aa3e10628aff58992a62b12fa1f1ce6e643b8 (patch)
tree895ff9462602cff9e0dce5d999301644fe6f9e1c /Source/cmTarget.h
parent2383d6ff6d55d608688a3b21fc2710e72d375392 (diff)
downloadCMake-089aa3e10628aff58992a62b12fa1f1ce6e643b8.zip
CMake-089aa3e10628aff58992a62b12fa1f1ce6e643b8.tar.gz
CMake-089aa3e10628aff58992a62b12fa1f1ce6e643b8.tar.bz2
option to make utilities in the all target
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index dd01521..8def255 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -66,6 +66,13 @@ public:
void SetType(TargetType f) { m_TargetType = f; }
/**
+ * Indicate whether the target is part of the all target
+ */
+ bool IsInAll() const { return m_InAll; }
+ bool GetInAll() const { return m_InAll; }
+ void SetInAll(bool f) { m_InAll = f; }
+
+ /**
* Get the list of the custom commands for this target
*/
const std::vector<cmCustomCommand> &GetCustomCommands() const {return m_CustomCommands;}
@@ -110,6 +117,7 @@ private:
TargetType m_TargetType;
std::vector<cmSourceFile> m_SourceFiles;
LinkLibraries m_LinkLibraries;
+ bool m_InAll;
};
typedef std::map<std::string,cmTarget> cmTargets;