[CMake] [Dev] CMake 2.5 tool chain support example

Trevor Kellaway tkellaway at asl-electronics.co.uk
Sat Jun 23 07:54:20 EDT 2007


Alex, 

> > > Can't you move the following three also in the toolchain file ?
> > > If they are already in the cache, you could try the FORCE option.
> > > SET (HC12_PIPER   "piper" CACHE STRING "Freescale tool...")
> > > SET (CMAKE_AR     "libmaker" CACHE STRING "Tool chain 
> > library archiver")
> > > SET (CMAKE_LINKER "linker"   CACHE STRING "Tool chain linker")
> 
> If I move these the build breaks, I'll look into why and let you know.

Tried this with the CACHE FORCE option and it works OK.

Latest demo project attached for any lurkers (CMakeForceCompiler.cmake
included as it isn't yet in CMake CVS, see ReadMe.txt).

 - TrevK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freescale-hc12-demo.zip
Type: application/x-zip-compressed
Size: 11129 bytes
Desc: freescale-hc12-demo.zip
Url : http://public.kitware.com/pipermail/cmake/attachments/20070623/61f470fe/freescale-hc12-demo-0001.bin


More information about the CMake mailing list