Hi Trevor, 

On Tuesday 22 May 2007 11:34, Trevor Kellaway wrote:
...
> > > this, but no. Trying
> > > "-DCMAKE_TOOLCHAIN_FILE:string=Toolchain-Freescale-HC12.cmake" also
> >
> > I didn't test it yet under Windows, but actually relative
> > paths should work.
> > Does prepending ".\" help ?
>
> I think you misunderstood me, the relative path to the source tree is
> fine, it is the search for the contents of CMAKE_TOOLCHAIN_FILE
> "Toolchain-Freescale-HC12" that only works with a full path.
>
> 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.

Bye
Alex
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to