Talk:CMake Cross Compiling

From KitwarePublic
Revision as of 16:17, 9 June 2009 by Xdecoret (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.