[CMake] [Dev] CMake 2.5 tool chain support example
Trevor Kellaway
tkellaway at asl-electronics.co.uk
Tue Jul 3 07:50:51 EDT 2007
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"?
- TrevK
More information about the CMake
mailing list