[CMake] [Dev] CMake 2.5 tool chain support example
Alexander Neundorf
a.neundorf-work at gmx.net
Mon Jul 2 14:26:40 EDT 2007
On Sunday 01 July 2007 14:59, Trevor Kellaway wrote:
> Alex,
>
> > I still recommend to name the system "Generic", and now that
> > you gave your toolchain an id ("FreescaleCHC12"), the cmake
> > files can be renamed Generic-FreescaleCHC12-C.cmake and
> > Generic-FreescaleCHC12-CXX.cmake (the settings for C and C++
> > are separated if you have a compiler id).
>
> Tried this and all OK, updated example project attached for lurkers.
>
> I presume the two other config files we had are now dead if using the
> compiler ID approach?
If there is no compiler id, then the basename of the compiler is used as
fallback.
Please check with current cvs, you shouldn't need local modifications anymore.
Alex
More information about the CMake
mailing list