Talk:CMake Cross Compiling
From KitwarePublic
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.