summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-02-03 22:42:55 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-02-03 22:42:55 (GMT)
commitfd0f29e6f4bb34cc10b41ba9df60be4948adef22 (patch)
treeb8296ad93bf8d4d03db6cef417ea0de2250181b8 /Source/cmGlobalXCodeGenerator.h
parentcecf8bf26a516354e1a937a8460940a54191e358 (diff)
downloadCMake-fd0f29e6f4bb34cc10b41ba9df60be4948adef22.zip
CMake-fd0f29e6f4bb34cc10b41ba9df60be4948adef22.tar.gz
CMake-fd0f29e6f4bb34cc10b41ba9df60be4948adef22.tar.bz2
ENH: depends work between targets
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r--Source/cmGlobalXCodeGenerator.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h
index 57a9c6c..f840439 100644
--- a/Source/cmGlobalXCodeGenerator.h
+++ b/Source/cmGlobalXCodeGenerator.h
@@ -66,6 +66,7 @@ public:
virtual void Generate();
private:
+ cmXCodeObject* FindXCodeTarget(cmTarget*);
// create cmXCodeObject from these functions so that memory can be managed
// correctly. All objects created are stored in m_XCodeObjects.
cmXCodeObject* CreateObject(cmXCodeObject::PBXType ptype);
@@ -74,19 +75,14 @@ private:
cmXCodeObject* CreateObjectReference(cmXCodeObject*);
cmXCodeObject* CreateXCodeTarget(cmTarget& target,
cmXCodeObject* buildPhases);
+ cmXCodeObject* CreateUtilityTarget(cmTarget& target);
+ void AddDependAndLinkInformation(cmXCodeObject* target);
void CreateBuildSettings(cmTarget& target,
cmXCodeObject* buildSettings,
std::string& fileType,
std::string& productType,
std::string& projectName);
- // deprecated TODO FIXME
- cmXCodeObject* CreateExecutable(cmTarget& cmtarget,
- cmXCodeObject* buildPhases);
- cmXCodeObject* CreateStaticLibrary(cmTarget& cmtarget,
- cmXCodeObject* buildPhases);
- cmXCodeObject* CreateSharedLibrary(cmTarget& cmtarget,
- cmXCodeObject* buildPhases);
// delete all objects in the m_XCodeObjects vector.
void ClearXCodeObjects();
void CreateXCodeObjects(cmLocalGenerator* root,
@@ -100,7 +96,13 @@ private:
cmXCodeObject* mainGroupChildren);
void CreateXCodeTargets(cmLocalGenerator* gen, std::vector<cmXCodeObject*>&,
cmXCodeObject* mainGroupChildren);
-
+ void AddDependTarget(cmXCodeObject* target,
+ cmXCodeObject* dependTarget);
+ void AddLinkTarget(cmXCodeObject* target,
+ cmXCodeObject* dependTarget);
+ void AddLinkFlag(cmXCodeObject* target,
+ const char*);
+private:
std::vector<cmXCodeObject*> m_XCodeObjects;
cmXCodeObject* m_RootObject;
cmMakefile* m_CurrentMakefile;