[CMake] [Dev] CMake 2.5 tool chain support example

Trevor Kellaway tkellaway at asl-electronics.co.uk
Wed Jun 27 04:40:44 EDT 2007


Alex, 

> I still recommend to name the system "Generic", and now that 
> you gave your toolchain an id ("FreescaleCHC12"), the cmake 
> files can be renamed Generic-FreescaleCHC12-C.cmake and 
> Generic-FreescaleCHC12-CXX.cmake (the settings for C and C++ 
> are separated if you have a compiler id).

OK, I'll try this and let you know. 

One thing it might be worth thinking about is a more generic way of
handling assembler source files, as these are more likely on embedded
systems.

 - TrevK


More information about the CMake mailing list