Talk:CMake Cross Compiling: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(New page: in the CMAKE_CXX_COMPILER section, it seems the search path indicated are incorrect * Platform/${CMAKE_SYSTEM_NAME}.cmake (mandatory) * Platform/${CMAKE_SYSTEM_NAME}-<compiler>.cmake (opt...)
(No difference)

Revision as of 16:17, 9 June 2009

in the CMAKE_CXX_COMPILER section, it seems the search path indicated are incorrect

  • Platform/${CMAKE_SYSTEM_NAME}.cmake (mandatory)
  • Platform/${CMAKE_SYSTEM_NAME}-<compiler>.cmake (optional)
  • Platform/${CMAKE_SYSTEM_NAME}-<compiler>-${CMAKE_SYSTEM_PROCESSOR}.cmake (optional)

should be replaced by

  • Platform/${CMAKE_SYSTEM_NAME}.cmake (mandatory)
  • Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}-<compiler>.cmake (optional)

Moreover, it would be nice to have ability to add local platform definitions. Currently, they need to be added in the cmake installation shared directory.