The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=14093
======================================================================
Reported By: Jamie Snape
Assigned To:
======================================================================
Project: CMake
Issue ID: 14093
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-04-16 12:58 EDT
Last Modified: 2013-04-16 12:58 EDT
======================================================================
Summary: Xcode 4.6 ignores "lastKnownFileType" for .txx files
Description:
CreateXCodeFileReferenceFromPath in Source/cmGlobalXCodeGenerator.cxx (line 885)
is writing the attribute "lastKnownFileType" to set the file type for a given
file extension. However, for .txx files, Xcode 4.6 is ignoring that attribute
and setting the file type to "plain text" when the project is opened. If instead
of "lastKnownFileType", the attribute "explicitFileType" is written, then the
problem is resolved, i.e., change
fileRef->AddAttribute("lastKnownFileType",
this->CreateString(sourcecode.c_str()));
to
fileRef->AddAttribute("explicitFileType",
this->CreateString(sourcecode.c_str()));
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-04-16 12:58 Jamie Snape New Issue
======================================================================
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers