[CMake] cross compiling - platform files
Kishore
kitts.mailinglists at gmail.com
Thu Jul 1 10:43:56 EDT 2010
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?
--
Cheers!
Kishore
More information about the CMake
mailing list