[CMake] [Dev] CMake 2.5-20070519 and tool chain support

Kishore, Jonnalagadda (IE10) Kishore.Jonnalagadda at honeywell.com
Tue May 22 10:32:48 EDT 2007


> -----Original Message-----
> From: cmake-bounces+kishore.jonnalagadda=honeywell.com at cmake.org
> [mailto:cmake-bounces+kishore.jonnalagadda=honeywell.com at cmake.org] On
> Behalf Of Alexander Neundorf
> Sent: Tuesday, May 22, 2007 7:35 PM
> To: cmake at cmake.org
> Subject: Re: [CMake] [Dev] CMake 2.5-20070519 and tool chain support


> So to make it short I suggest to set CMAKE_SYSTEM_NAME to "Custom" (or
> "NoOS"
> or "Embedded" or... ?) and to put the rules for your toolchain into
> Custom-chc12.cmake and then in the toolchain set
CMAKE_SYSTEM_INFO_FILE to
> the full path to this file (e.g.
${CMAKE_SOURCE_DIR}/Custom-chc12.cmake ).

Would it not be a good idea that cmake first searches for that file in
the project directory and if not found then look into the cmake
installation directory?

It would make it very easy for one to distribute the project with the
respective cmake support files when cmake officially does not support
the configuration. Or if the for some reason one wants to override the
default configuration.

Warm regards,
Kishore


More information about the CMake mailing list