summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-03-15 16:05:31 (GMT)
committerBrad King <brad.king@kitware.com>2012-03-16 18:23:13 (GMT)
commitbe01f3b098a69570cc382501a3895f424c4a608f (patch)
tree4e4e7430e5b523d939363c8ca32eae45ae70bef5 /Source/cmGlobalXCodeGenerator.h
parent34e4985eed3589a4f7ad7dfc14a7a8aa10c8ff97 (diff)
downloadCMake-be01f3b098a69570cc382501a3895f424c4a608f.zip
CMake-be01f3b098a69570cc382501a3895f424c4a608f.tar.gz
CMake-be01f3b098a69570cc382501a3895f424c4a608f.tar.bz2
Xcode: Re-factor some existing methods into "FromPath" variants
...to avoid depending on cmSourceFile instances. Prep work for supporting OBJECT_LIBRARY in the Xcode generator.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r--Source/cmGlobalXCodeGenerator.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h
index 393cd47..2004514 100644
--- a/Source/cmGlobalXCodeGenerator.h
+++ b/Source/cmGlobalXCodeGenerator.h
@@ -153,6 +153,12 @@ private:
std::vector<cmLocalGenerator*>& generators);
void WriteXCodePBXProj(std::ostream& fout, cmLocalGenerator* root,
std::vector<cmLocalGenerator*>& generators);
+ cmXCodeObject* CreateXCodeFileReferenceFromPath(const std::string &fullpath,
+ cmTarget& cmtarget,
+ const std::string &lang);
+ cmXCodeObject* CreateXCodeSourceFileFromPath(const std::string &fullpath,
+ cmTarget& cmtarget,
+ const std::string &lang);
cmXCodeObject* CreateXCodeFileReference(cmSourceFile* sf,
cmTarget& cmtarget);
cmXCodeObject* CreateXCodeSourceFile(cmLocalGenerator* gen,