diff options
author | Brad King <brad.king@kitware.com> | 2014-05-15 17:50:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-05-15 18:34:52 (GMT) |
commit | a339ea652952666182d2e63ddce088d023e2a5f5 (patch) | |
tree | 7988457438918b8c1de93a32683357836cbb187e /Source/cmGlobalXCodeGenerator.h | |
parent | ae80cb9f28c8c278a6897f331f65a1be77058897 (diff) | |
download | CMake-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.h | 6 |
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, |