mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-17 07:11:52 +08:00
cmGeneratorTarget: Use enum for GetType.
This commit is contained in:
@@ -323,7 +323,7 @@ cmLocalGenerator* cmGeneratorTarget::GetLocalGenerator() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
int cmGeneratorTarget::GetType() const
|
cmState::TargetType cmGeneratorTarget::GetType() const
|
||||||
{
|
{
|
||||||
return this->Target->GetType();
|
return this->Target->GetType();
|
||||||
}
|
}
|
||||||
|
@@ -41,7 +41,7 @@ public:
|
|||||||
cmComputeLinkInformation*
|
cmComputeLinkInformation*
|
||||||
GetLinkInformation(const std::string& config) const;
|
GetLinkInformation(const std::string& config) const;
|
||||||
|
|
||||||
int GetType() const;
|
cmState::TargetType GetType() const;
|
||||||
std::string GetName() const;
|
std::string GetName() const;
|
||||||
const char *GetProperty(const std::string& prop) const;
|
const char *GetProperty(const std::string& prop) const;
|
||||||
bool GetPropertyAsBool(const std::string& prop) const;
|
bool GetPropertyAsBool(const std::string& prop) const;
|
||||||
|
Reference in New Issue
Block a user