[CMake] CMake 2.8.7 + XCode generator + nasm files
Alexander Neundorf
a.neundorf-work at gmx.net
Wed Apr 11 16:08:03 EDT 2012
On Wednesday 11 April 2012, Damien Chavarria wrote:
> > But shouldn't this only be enabled when the ASM_NASM language has been
> > enabled
> > ?
> > Otherwise a project which builds for xcode doesn't build with makefiles,
> > because the
> > enable_language(ASM_NASM)
> > is missing.
> >
> > Also, I think it would be a good idea to reuse e.g. the file suffix
> > extensions
> > from CMakeASM_NASMInformation.cmake so this information is not
> > duplicated.
>
> I actually get your point now and it does make sense. However, I think
> other generators are broken too then.
Yes, the Visual Studio generators also don't support assembler (yet).
> For example in Visual Studio (2008) I have to add a custom build rule
> (through add_custom_command) to make the same nasm files build. Does this
> mean a well-though patch should also address that and integrate the custom
> build steps in the visual studio solutions automatically as well ?
No, if you can "just" make it work for xcode this would be great :-)
Alex
More information about the CMake
mailing list