[CMake] CMake 2.8.7 + XCode generator + nasm files
Alexander Neundorf
a.neundorf-work at gmx.net
Tue Apr 10 14:43:40 EDT 2012
On Tuesday 10 April 2012, David Cole wrote:
> 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.
Handling of nasm files should be coupled to having the ASM_NASM language
enabled, that's what has to be done for the makefile-based generators.
I think the CMakeLists.txt for xcode should do the same.
Modules/CMakeASM_NASMInformation.cmake lists .nasm and .asm as known file
extensions.
Alex
More information about the CMake
mailing list