cmGeneratorTarget: Use enum for GetType.

This commit is contained in:
Stephen Kelly 2015-10-08 00:23:34 +02:00
parent eac15298a8
commit 4ee2b26708
2 changed files with 2 additions and 2 deletions

View File

@ -323,7 +323,7 @@ cmLocalGenerator* cmGeneratorTarget::GetLocalGenerator() const
}
//----------------------------------------------------------------------------
int cmGeneratorTarget::GetType() const
cmState::TargetType cmGeneratorTarget::GetType() const
{
return this->Target->GetType();
}

View File

@ -41,7 +41,7 @@ public:
cmComputeLinkInformation*
GetLinkInformation(const std::string& config) const;
int GetType() const;
cmState::TargetType GetType() const;
std::string GetName() const;
const char *GetProperty(const std::string& prop) const;
bool GetPropertyAsBool(const std::string& prop) const;