[CMake] CMake 2.8.7 + XCode generator + nasm files

Damien Chavarria roy204 at gmail.com
Tue Apr 10 12:39:16 EDT 2012


Hi all,

Nobody has any insigth on this ? Should I give up ?

Cheers,
Damien.


On Fri, Apr 6, 2012 at 9:36 AM, Damien Chavarria <roy204 at gmail.com> wrote:

>
> Hi all,
>
> Sorry for reviving what seems like a previously discussed issue, but I've
> been unable to find whether a resolution was reached.
>
> Here is the problem:
>
> 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.
>
> I later found a previous post about this problem in the list :
> http://www.cmake.org/pipermail/cmake/2009-June/030017.html
> And a subsequent feature request :
> http://public.kitware.com/Bug/view.php?id=9126
>
> All this dates back from 2009 and I see no resolution on the feature
> request so I'm not sure what was decided.
> Is there a way to fix this from CMakeLists.txt that I missed ?
>
> If not, I'd be more than happy to submit a patch for the feature, if
> that's desirable.
>
> Thanks all and have a nice day,
> Damien.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120410/4e194f0f/attachment.htm>


More information about the CMake mailing list