summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-05-15 17:50:53 (GMT)
committerBrad King <brad.king@kitware.com>2014-05-15 18:34:52 (GMT)
commita339ea652952666182d2e63ddce088d023e2a5f5 (patch)
tree7988457438918b8c1de93a32683357836cbb187e /Source/cmGlobalXCodeGenerator.h
parentae80cb9f28c8c278a6897f331f65a1be77058897 (diff)
downloadCMake-a339ea652952666182d2e63ddce088d023e2a5f5.zip
CMake-a339ea652952666182d2e63ddce088d023e2a5f5.tar.gz
CMake-a339ea652952666182d2e63ddce088d023e2a5f5.tar.bz2
Xcode: Add source file property to control file type (#14854)
Add source file properties to control Xcode file type attributes: XCODE_EXPLICIT_FILE_TYPE => explicitFileType XCODE_LAST_KNOWN_FILE_TYPE => lastKnownFileType Add a RunCMake.XcodeProject test to verify generated project content.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r--Source/cmGlobalXCodeGenerator.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h
index 23616b4..c9937ed 100644
--- a/Source/cmGlobalXCodeGenerator.h
+++ b/Source/cmGlobalXCodeGenerator.h
@@ -163,10 +163,12 @@ private:
std::vector<cmLocalGenerator*>& generators);
cmXCodeObject* CreateXCodeFileReferenceFromPath(const std::string &fullpath,
cmTarget& cmtarget,
- const std::string &lang);
+ const std::string &lang,
+ cmSourceFile* sf);
cmXCodeObject* CreateXCodeSourceFileFromPath(const std::string &fullpath,
cmTarget& cmtarget,
- const std::string &lang);
+ const std::string &lang,
+ cmSourceFile* sf);
cmXCodeObject* CreateXCodeFileReference(cmSourceFile* sf,
cmTarget& cmtarget);
cmXCodeObject* CreateXCodeSourceFile(cmLocalGenerator* gen,