added some const versions of get methods
This commit is contained in:
parent
e686bb9ee1
commit
ead17fbd9d
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue