[CMake] [Dev] CMake 2.5-20070519 and tool chain support
Trevor Kellaway
tkellaway at asl-electronics.co.uk
Thu May 24 06:47:00 EDT 2007
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?
- TrevK
More information about the CMake
mailing list