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

Alexander Neundorf a.neundorf-work at gmx.net
Tue Jul 3 08:24:22 EDT 2007


On Tuesday 03 July 2007 07:50, 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.
>
> Can you clarify "local modifications"?

Any modification you may have done to files in Modules/, e.g. 
CMakeForceCompiler.cmake now comes with cmake.

Your FreescaleCHC12 files are still required.

Alex


More information about the CMake mailing list