summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-10-10 22:57:11 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-10-30 20:29:45 (GMT)
commit07f5788385de1cc1ba7ada9d3d9adc43382fd5ff (patch)
treedec9e6ee098811d073baf4b29cf3eb0bcb9a667a /Source/cmTarget.h
parentfa037776264a9ae554ed4e0a25f4e9f11f570524 (diff)
downloadCMake-07f5788385de1cc1ba7ada9d3d9adc43382fd5ff.zip
CMake-07f5788385de1cc1ba7ada9d3d9adc43382fd5ff.tar.gz
CMake-07f5788385de1cc1ba7ada9d3d9adc43382fd5ff.tar.bz2
Move TraceDependencies to cmGeneratorTarget.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 41af8ab..f3b60b0 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -34,6 +34,8 @@ class cmGlobalGenerator;
class cmComputeLinkInformation;
class cmListFileBacktrace;
class cmTarget;
+class cmGeneratorTarget;
+class cmTargetTraceDependencies;
struct cmTargetLinkInformationMap:
public std::map<std::pair<cmTarget*, std::string>, cmComputeLinkInformation*>
@@ -128,9 +130,6 @@ public:
return this->ObjectLibraries;
}
- /** Get sources that must be built before the given source. */
- std::vector<cmSourceFile*> const* GetSourceDepends(cmSourceFile* sf);
-
/**
* Flags for a given source file as used in this target. Typically assigned
* via SET_TARGET_PROPERTIES when the property is a list of source files.
@@ -347,12 +346,6 @@ public:
void GetTargetVersion(bool soversion, int& major, int& minor, int& patch);
/**
- * Trace through the source files in this target and add al source files
- * that they depend on, used by all generators
- */
- void TraceDependencies();
-
- /**
* Make sure the full path to all source files is known.
*/
bool FindSourceFiles();
@@ -732,6 +725,8 @@ private:
// Internal representation details.
friend class cmTargetInternals;
+ friend class cmGeneratorTarget;
+ friend class cmTargetTraceDependencies;
cmTargetInternalPointer Internal;
void ConstructSourceFileFlags();