added some const versions of get methods

This commit is contained in:
Ken Martin 2001-06-11 16:47:15 -04:00
parent e686bb9ee1
commit ead17fbd9d
1 changed files with 5 additions and 0 deletions

View File

@ -350,6 +350,7 @@ public:
* Get the list of targets * Get the list of targets
*/ */
cmTargets &GetTargets() { return m_Targets; } cmTargets &GetTargets() { return m_Targets; }
const cmTargets &GetTargets() const { return m_Targets; }
/** /**
* Get a list of the build subdirectories. * Get a list of the build subdirectories.
@ -366,6 +367,10 @@ public:
{ {
return m_IncludeDirectories; return m_IncludeDirectories;
} }
const std::vector<std::string>& GetIncludeDirectories() const
{
return m_IncludeDirectories;
}
/** /**
* Get a list of link directories in the build. * Get a list of link directories in the build.