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

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


On Thursday 24 May 2007 06:47, Trevor Kellaway wrote:
> Alex,
>
> > > I want to create a directory with multiple Toolchain-*-* in
> >
> > it and not
> >
> > > have to specify a full path on the CMake command line, and
> >
> > let CMake
> >
> > > process it as if the file was in the CModule directory.
> >
> > cmake -DCMAKE_MODULE_PATH=<dir>
> > -DCMAKE_TOOLCHAIN_FILE=Toolchain-HC12 <src>
> >
> > should work.
>
> I can't get this to work, CMAKE_MODULE_PATH seems to be ignored. I've
> had to resort to putting all my additional files in CMake's CModule
> directory, and I really don't want to do this.
>
> Are you sure CMAKE_MODULE_PATH works?

I'll try today on Windows.

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

Bye
Alex


More information about the CMake mailing list