diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-25 11:22:51 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-27 06:44:23 (GMT) |
commit | 0c97d32f7a592a768d614c19b3fd48eab245a2c4 (patch) | |
tree | 49164276c41a985b4217a2b1a46c46283fcdc368 /Source/cmTarget.h | |
parent | 383bfd95432990365ac5c7fc3ab190bfb05cbec1 (diff) | |
download | CMake-0c97d32f7a592a768d614c19b3fd48eab245a2c4.zip CMake-0c97d32f7a592a768d614c19b3fd48eab245a2c4.tar.gz CMake-0c97d32f7a592a768d614c19b3fd48eab245a2c4.tar.bz2 |
cmGlobalGenerator: Remove direct storage of targets
Find the target by looping when needed.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 541e850..62e10f4 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -75,7 +75,7 @@ public: */ void SetType(cmState::TargetType f, const std::string& name); - void MarkAsImported(); + void MarkAsImported(bool global = false); ///! Set/Get the name of the target const std::string& GetName() const {return this->Name;} @@ -186,6 +186,8 @@ public: void CheckProperty(const std::string& prop, cmMakefile* context) const; bool IsImported() const {return this->IsImportedTarget;} + bool IsImportedGloballyVisible() const + { return this->ImportedGloballyVisible; } // Get the properties cmPropertyMap &GetProperties() const { return this->Properties; } @@ -349,6 +351,7 @@ private: bool IsAndroid; bool IsApple; bool IsImportedTarget; + bool ImportedGloballyVisible; bool BuildInterfaceIncludesAppended; #if defined(_WIN32) && !defined(__CYGWIN__) bool LinkLibrariesForVS6Analyzed; |