[CMake] [Dev] CMake 2.5-20070519 and tool chain support

Trevor Kellaway tkellaway at asl-electronics.co.uk
Thu May 24 10:02:47 EDT 2007


Alex,

> > Are you sure CMAKE_MODULE_PATH works?
> 
> I'll try today on Windows.

Thanks.


> Is there a define for your compiler so it can be detected ?

For TI C6xxx DSP "_TMS320C6X" and "__TI_COMPILER_VERSION__"

For Freescale (nee Metrowerks) HC12, vendor "__MWERKS__",
"__PRODUCT_HICROSS_PLUS__" and "__VERSION__", although I can't find
anything that specifically identifies this as for HC12 (they do similar
compilers for other processor family members which could well clash).

Don't forget we can only do a "-c" compile for these deeply embedded
cross compilers, a linked image isn't possible without additional
control files.

 - TrevK


More information about the CMake mailing list