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

Alexander Neundorf a.neundorf-work at gmx.net
Thu May 24 16:08:21 EDT 2007


On Thursday 24 May 2007 10:02, Trevor Kellaway wrote:
> Alex,
>
> > > Are you sure CMAKE_MODULE_PATH works?
> >
> > I'll try today on Windows.
>
> Thanks.

I tried with nmake and sdcc and it worked for me, both with forward and double 
back slashes.
An environment variable isn't supported currently.

cmake -DCMAKE_MODULE_PATH=c:/dir -DCMAKE_TOOLCHAIN_FILE=foo.cmake srcdir

Bye
Alex
>
> > 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).

Ok, we"ll come to this later.

Bye
Alex


More information about the CMake mailing list