[CMake] cross compiling - platform files

Kishore kitts.mailinglists at gmail.com
Fri Jul 2 10:51:30 EDT 2010


On Thursday 01 Jul 2010 8:13:56 pm Kishore wrote:
> In the CMake wiki (http://www.cmake.org/Wiki/CMake_Cross_Compiling) it says
> clearly that the platform module are included in the following order;
> 
> Platform/${CMAKE_SYSTEM_NAME}.cmake (mandatory)
> Platform/${CMAKE_SYSTEM_NAME}-<compiler>.cmake (optional)
> Platform/${CMAKE_SYSTEM_NAME}-<compiler>-${CMAKE_SYSTEM_PROCESSOR}.cmake
> (optional)
> 
> However, in my project it seems that They are included in the reverse order
> to that. At least, Generic-gcc-${CMAKE_SYSTEM_PROCESSOR}.cmake is included
> before Generic-gcc.cmake.
> 
> Can someone kindly confirm. Is this a bug in cmake or an error in
> documentation?

Anyone? What was the original intension when cresting this feature?
-- 
Cheers!
Kishore


More information about the CMake mailing list