summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-14 17:35:57 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-10-14 17:35:57 (GMT)
commitff6ae3ecfc2ab421dccb9e50d78162e0b1c389ba (patch)
tree667dcc41f74ca7c4c541a051219c398f544d6eac /Source/cmComputeLinkInformation.h
parent2380896a056a29f22dd440369f4ab30137306ab9 (diff)
parent1fdccff5894914d4408e64c0b55e52c376e64ad4 (diff)
downloadCMake-ff6ae3ecfc2ab421dccb9e50d78162e0b1c389ba.zip
CMake-ff6ae3ecfc2ab421dccb9e50d78162e0b1c389ba.tar.gz
CMake-ff6ae3ecfc2ab421dccb9e50d78162e0b1c389ba.tar.bz2
Merge topic 'use-generator-target'
1fdccff5 Genex: Port implementation detail to cmGeneratorTarget. ce75c86e cmGeneratorTarget: Move GetSupportDirectory from cmTarget. 526cc7dc cmGeneratorTarget: Move HasImportLibrary from cmTarget. 8d2e3e53 cmGeneratorTarget: Move HasImplibGNUtoMS from cmTarget. a143d4ac Sublime: Port some API to cmGeneratorTarget. 993aace7 cmGeneratorTarget: Port processILibs to cmGeneratorTarget. 43ade995 cmGeneratorTarget: Port getTypedProperty to cmGeneratorTarget. 5fd2f43f cmGeneratorTarget: Port handleSystemIncludesDep to cmGeneratorTarget. f7acd742 cmGeneratorTarget: Port LinkImplClosure to cmGeneratorTarget. 763f7b19 cmCommonTargetGenerator: Port implementation detail to cmGeneratorTarget. ceb35b63 cmLinkItem: Port to cmGeneratorTarget. bf2d061a cmGeneratorTarget: Move FindTargetToLink from cmTarget. 61c02dec cmHeadToLinkInterfaceMap: Port to cmGeneratorTarget. 9ca4cae5 cmGeneratorTarget: Move GetUtilityItems from cmTarget. d6b394ed cmComputeLinkDepends: Port result API to cmGeneratorTarget. 7c8236ef cmComputeLinkInformation: Port result API to cmGeneratorTarget. ...
Diffstat (limited to 'Source/cmComputeLinkInformation.h')
-rw-r--r--Source/cmComputeLinkInformation.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/Source/cmComputeLinkInformation.h b/Source/cmComputeLinkInformation.h
index b1e7e46..5eecf7d 100644
--- a/Source/cmComputeLinkInformation.h
+++ b/Source/cmComputeLinkInformation.h
@@ -19,7 +19,6 @@
class cmake;
class cmGlobalGenerator;
class cmMakefile;
-class cmTarget;
class cmGeneratorTarget;
class cmOrderDirectories;
@@ -39,11 +38,11 @@ public:
Item(): Value(), IsPath(true), Target(0) {}
Item(Item const& item):
Value(item.Value), IsPath(item.IsPath), Target(item.Target) {}
- Item(std::string const& v, bool p, cmTarget const* target = 0):
+ Item(std::string const& v, bool p, cmGeneratorTarget const* target = 0):
Value(v), IsPath(p), Target(target) {}
std::string Value;
bool IsPath;
- cmTarget const* Target;
+ cmGeneratorTarget const* Target;
};
typedef std::vector<Item> ItemVector;
ItemVector const& GetItems();
@@ -57,7 +56,7 @@ public:
void GetRPath(std::vector<std::string>& runtimeDirs, bool for_install);
std::string GetRPathString(bool for_install);
std::string GetChrpathString();
- std::set<cmTarget const*> const& GetSharedLibrariesLinked();
+ std::set<cmGeneratorTarget const*> const& GetSharedLibrariesLinked();
std::string const& GetRPathLinkFlag() const { return this->RPathLinkFlag; }
std::string GetRPathLinkString();
@@ -71,7 +70,7 @@ private:
std::vector<std::string> Depends;
std::vector<std::string> FrameworkPaths;
std::vector<std::string> RuntimeSearchPath;
- std::set<cmTarget const*> SharedLibrariesLinked;
+ std::set<cmGeneratorTarget const*> SharedLibrariesLinked;
// Context information.
cmGeneratorTarget const* Target;
@@ -129,7 +128,7 @@ private:
std::string NoCaseExpression(const char* str);
// Handling of link items.
- void AddTargetItem(std::string const& item, cmTarget const* target);
+ void AddTargetItem(std::string const& item, const cmGeneratorTarget* target);
void AddFullItem(std::string const& item);
bool CheckImplicitDirItem(std::string const& item);
void AddUserItem(std::string const& item, bool pathNotKnown);
@@ -183,7 +182,7 @@ private:
bool CMP0060Warn;
void AddLibraryRuntimeInfo(std::string const& fullPath,
- cmTarget const* target);
+ const cmGeneratorTarget* target);
void AddLibraryRuntimeInfo(std::string const& fullPath);
};