[CMake] Assembler handling in 2.8.5 vs 2.8.4

Alexander Neundorf a.neundorf-work at gmx.net
Thu Jul 21 15:32:50 EDT 2011


Hi Florian,

On Thursday 21 July 2011, Florian Reinhard wrote:
> Hi Alex,
> 
> Thank you for the quick response,

Can you please create a ticket in the cmake bug tracker at 
http://public.kitware.com/Bug and put all the information there ?
I'll assign it to me, and we should get it working.

> 2011/7/20 Alexander Neundorf <a.neundorf-work at gmx.net>:
> > Damn, I was so sure I updated the wiki, but apparently I didn't.
> > So here are the old docs, but this changed quite a bit for 2.8.5:
> > http://www.vtk.org/Wiki/CMake/Assembler
> > 
> > What it does now:
> > the language "ASM" is now for assembler files which can be processed by
> > your C compiler. This actually seems to be the case for you.
> > Is the compiler ID of your compiler recognized by cmake ?
> 
> I guess not, since i define the compiler and how it is being called my
> self there is/was no need to have cmake detect the compiler ID.
> 
> > It seems like it isn't.
> > If it was, the assembler support would not try to figure out the
> > "compiler ID" for the assembler again, it would just use the compiler ID
> > from C or CXX.
> > 
> > Can you please post the complete cmake output from some basic C project ?
> 
> Sure, hope to get this done by Friday afternoon CEST.
> 
> > Basically, what we should do, add support for your compiler toolchain,
> > i.e. add support for recognizing your compiler, and create files in
> > Modules/Compiler/TMS-C|CXX|ASM.cmake.
> 
> Having cl6x support included in CMake would be really nice, besides
> that knowing how to setup a toolchain easily would be good either ;)


Have a look at CMakeDetermineASMCompiler.cmake, it should be understandable 
:-)


> 
> > This doesn't require recompiling cmake, it is all in the modules files.
> > Then it should all work much better.
> > 
> > How do you compiler settings, toolchain file etc. look right now ?
> 
> I attached three files:
> help-<command>.txt
>     The Texas Instruments "<command> --help" output
> CMakeLists_root.txt
>     Thats where i setup the toolchain and define the project
> CMakeLists_src.txt
>     Thats where i add sources and binaries
> 
> The cl6x toolchain is available for linux and windows after registration
> at:
> https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.
> htm

Downloading...

Alex


More information about the CMake mailing list