mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 15:20:56 -06:00
cmGeneratorTarget: Add API for globally visible IMPORTED
This commit is contained in:
@@ -856,6 +856,11 @@ bool cmGeneratorTarget::IsImported() const
|
||||
return this->Target->IsImported();
|
||||
}
|
||||
|
||||
bool cmGeneratorTarget::IsImportedGloballyVisible() const
|
||||
{
|
||||
return this->Target->IsImportedGloballyVisible();
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
const char* cmGeneratorTarget::GetLocationForBuild() const
|
||||
{
|
||||
|
||||
@@ -31,6 +31,7 @@ public:
|
||||
cmLocalGenerator* GetLocalGenerator() const;
|
||||
|
||||
bool IsImported() const;
|
||||
bool IsImportedGloballyVisible() const;
|
||||
const char *GetLocation(const std::string& config) const;
|
||||
|
||||
std::vector<cmCustomCommand> const &GetPreBuildCommands() const;
|
||||
|
||||
Reference in New Issue
Block a user