diff options
author | David Cole <david.cole@kitware.com> | 2012-03-15 16:05:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-03-16 18:23:13 (GMT) |
commit | be01f3b098a69570cc382501a3895f424c4a608f (patch) | |
tree | 4e4e7430e5b523d939363c8ca32eae45ae70bef5 /Source/cmGlobalXCodeGenerator.h | |
parent | 34e4985eed3589a4f7ad7dfc14a7a8aa10c8ff97 (diff) | |
download | CMake-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.h | 6 |
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, |