<div><br></div>Hi all,<div><br></div><div>Sorry for reviving what seems like a previously discussed issue, but I've been unable to find whether a resolution was reached.</div><div><br></div><div>Here is the problem:</div>
<div><br></div><div>I have .nasm files in my project, and when I add them to a target and then use the XCode generator on a mac, they appear in the list of source files to be compiled for that target in the XCode project but they don't actually do when building it (XCode complains to the effect of "no rule to build xxx.nasm for architecture yyy"). I noticed that the "file type" for the NASM file in XCode (select the .nasm file in the target and right-click -> "Get Info") shows as "sourcecode". Simply setting this to "sourcecode.nasm" makes XCode happy and the file then builds.</div>
<div><br></div><div>I later found a previous post about this problem in the list :
<a href="http://www.cmake.org/pipermail/cmake/2009-June/030017.html">http://www.cmake.org/pipermail/cmake/2009-June/030017.html</a> </div><div>And a subsequent feature request :
<a href="http://public.kitware.com/Bug/view.php?id=9126">http://public.kitware.com/Bug/view.php?id=9126</a> </div><div><br></div><div>All this dates back from 2009 and I see no resolution on the feature request so I'm not sure what was decided.</div>
<div>Is there a way to fix this from CMakeLists.txt that I missed ?</div><div><br></div><div>If not, I'd be more than happy to submit a patch for the feature, if that's desirable.<br clear="all"><br>Thanks all and have a nice day,<br>
Damien.<br>
</div><div><br></div><div><br></div>