diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-04-19 17:28:46 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-04-19 17:28:46 (GMT) |
commit | 24bce99cbff13cb337c543dce55f056351caa2fc (patch) | |
tree | 6f34febd8379a1c848a8c22721552964afc34c61 /Source/cmTarget.h | |
parent | 57c4325c7dc3a19dea5276f9ab92647d42a3d43a (diff) | |
download | CMake-24bce99cbff13cb337c543dce55f056351caa2fc.zip CMake-24bce99cbff13cb337c543dce55f056351caa2fc.tar.gz CMake-24bce99cbff13cb337c543dce55f056351caa2fc.tar.bz2 |
cleaned up the coding style made ivars private etc
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 73c03b2..d72ec18 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -28,9 +28,29 @@ class cmTarget { public: + /** + * is this target a library? + */ + bool IsALibrary() const { return m_IsALibrary; } + bool GetIsALibrary() const { return m_IsALibrary; } + void SetIsALibrary(bool f) { m_IsALibrary = f; } + + /** + * Get the list of the custom commands for this target + */ + const std::vector<cmCustomCommand> &GetCustomCommands() const {return m_CustomCommands;} + std::vector<cmCustomCommand> &GetCustomCommands() {return m_CustomCommands;} + + /** + * Get the list of the source lists used by this target + */ + const std::vector<std::string> &GetSourceLists() const {return m_SourceLists;} + std::vector<std::string> &GetSourceLists() {return m_SourceLists;} + +private: std::vector<cmCustomCommand> m_CustomCommands; - bool m_IsALibrary; std::vector<std::string> m_SourceLists; + bool m_IsALibrary; }; typedef std::map<std::string,cmTarget> cmTargets; |