|
@@ -16,6 +16,7 @@
|
|
|
#include "cmPropertyMap.h"
|
|
#include "cmPropertyMap.h"
|
|
|
#include "cmPolicies.h"
|
|
#include "cmPolicies.h"
|
|
|
#include "cmListFileCache.h"
|
|
#include "cmListFileCache.h"
|
|
|
|
|
+#include "cmLinkItem.h"
|
|
|
|
|
|
|
|
#include <cmsys/auto_ptr.hxx>
|
|
#include <cmsys/auto_ptr.hxx>
|
|
|
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
|
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
|
@@ -52,32 +53,6 @@ class cmTarget;
|
|
|
class cmGeneratorTarget;
|
|
class cmGeneratorTarget;
|
|
|
class cmTargetTraceDependencies;
|
|
class cmTargetTraceDependencies;
|
|
|
|
|
|
|
|
-// Basic information about each link item.
|
|
|
|
|
-class cmLinkItem: public std::string
|
|
|
|
|
-{
|
|
|
|
|
- typedef std::string std_string;
|
|
|
|
|
-public:
|
|
|
|
|
- cmLinkItem(): std_string(), Target(0) {}
|
|
|
|
|
- cmLinkItem(const std_string& n,
|
|
|
|
|
- cmTarget const* t): std_string(n), Target(t) {}
|
|
|
|
|
- cmLinkItem(cmLinkItem const& r): std_string(r), Target(r.Target) {}
|
|
|
|
|
- cmTarget const* Target;
|
|
|
|
|
-};
|
|
|
|
|
-class cmLinkImplItem: public cmLinkItem
|
|
|
|
|
-{
|
|
|
|
|
-public:
|
|
|
|
|
- cmLinkImplItem(): cmLinkItem(), Backtrace(), FromGenex(false) {}
|
|
|
|
|
- cmLinkImplItem(std::string const& n,
|
|
|
|
|
- cmTarget const* t,
|
|
|
|
|
- cmListFileBacktrace const& bt,
|
|
|
|
|
- bool fromGenex):
|
|
|
|
|
- cmLinkItem(n, t), Backtrace(bt), FromGenex(fromGenex) {}
|
|
|
|
|
- cmLinkImplItem(cmLinkImplItem const& r):
|
|
|
|
|
- cmLinkItem(r), Backtrace(r.Backtrace), FromGenex(r.FromGenex) {}
|
|
|
|
|
- cmListFileBacktrace Backtrace;
|
|
|
|
|
- bool FromGenex;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
class cmTargetInternals;
|
|
class cmTargetInternals;
|
|
|
class cmTargetInternalPointer
|
|
class cmTargetInternalPointer
|
|
|
{
|
|
{
|