Move GetLinkInformation to cmGeneratorTarget

This commit is contained in:
Stephen Kelly
2012-09-15 23:54:01 +02:00
parent 987e12e2f9
commit 4f5384e75c
13 changed files with 95 additions and 78 deletions

View File

@@ -14,6 +14,7 @@
#include "cmStandardIncludes.h"
class cmComputeLinkInformation;
class cmCustomCommand;
class cmGlobalGenerator;
class cmLocalGenerator;
@@ -25,6 +26,7 @@ class cmGeneratorTarget
{
public:
cmGeneratorTarget(cmTarget*);
~cmGeneratorTarget();
int GetType() const;
const char *GetName() const;
@@ -61,6 +63,10 @@ public:
/** Add the target output files to the global generator manifest. */
void GenerateTargetManifest(const char* config);
std::map<cmStdString, cmComputeLinkInformation*> LinkInformation;
cmComputeLinkInformation* GetLinkInformation(const char* config);
private:
void ClassifySources();
void LookupObjectLibraries();