View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009126CMakeCMakepublic2009-06-09 21:062016-06-10 14:30
ReporterJason Eubank 
Assigned ToBill Hoffman 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0009126: Feature request: Support for "File Type" setting in Xcode via file property
DescriptionCurrently the Xcode generator in CMake has a file type mapping to explicitly map extensions to Xcode's "File Type" property. This setting can be seen in Xcode by right-clicking a source file and selecting "Get Info".

For file extensions that CMake does not know it simply applies the type "sourcecode", however it would be nice if this could be overridden by using something such as:

set_source_files_properties(foo.asm PROPERTIES XCODE_FILE_TYPE "sourcecode.nasm")

Where "XCODE_FILE_TYPE" is the property type to be added for this feature.
Additional InformationThis feature may also enable other language support simply through this property assuming this is an acceptable convention for the Xcode generator.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0029116)
David Cole (manager)
2012-04-10 13:36

If you would like to construct a git commit (based on the present 'master' branch), and then attach the patch produced by:

  git format-patch -1

to the issue at http://public.kitware.com/Bug/view.php?id=9126, [^] then we will consider it for inclusion in a future CMake release.

Seems like the easiest thing to do, at least for your case, would simply be add the "nasm" file extension to the code in the recently factored-out function GetSourcecodeValueFromFileExtension in Source/cmGlobalXCodeGenerator.cxx. Adding more known file types to that function will help us keep CMakeLists from being cluttered with too many required source file properties.
(0041567)
Kitware Robot (administrator)
2016-06-10 14:27

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2009-06-09 21:06 Jason Eubank New Issue
2009-09-14 15:21 Bill Hoffman Status new => assigned
2009-09-14 15:21 Bill Hoffman Assigned To => Bill Hoffman
2012-04-10 13:36 David Cole Note Added: 0029116
2016-06-10 14:27 Kitware Robot Note Added: 0041567
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:30 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team