cmGeneratorTarget: Make GetIncludeDirectories const.

This commit is contained in:
Stephen Kelly 2013-11-18 15:11:10 +01:00
parent 1da77bf1ee
commit 0f876439e9
2 changed files with 3 additions and 3 deletions

View File

@ -611,8 +611,8 @@ const char* cmGeneratorTarget::GetCreateRuleVariable() const
}
//----------------------------------------------------------------------------
std::vector<std::string> cmGeneratorTarget::GetIncludeDirectories(
const char *config)
std::vector<std::string>
cmGeneratorTarget::GetIncludeDirectories(const char *config) const
{
return this->Target->GetIncludeDirectories(config);
}

View File

@ -70,7 +70,7 @@ public:
const char* GetCreateRuleVariable() const;
/** Get the include directories for this target. */
std::vector<std::string> GetIncludeDirectories(const char *config);
std::vector<std::string> GetIncludeDirectories(const char *config) const;
bool IsSystemIncludeDirectory(const char *dir, const char *config) const;