1set (CMAKE_SYSTEM_NAME "Generic" CACHE STRING "") 2 3set (CMAKE_C_COMPILER "${CROSS_PREFIX}gcc") 4set (CMAKE_CXX_COMPILER "${CROSS_PREFIX}g++") 5# _exit is in the BSP rather than in libgcc, leaving this out 6# causes errors in try_compile on ARM generic. 7set (CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) 8 9set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER CACHE STRING "") 10set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY NEVER CACHE STRING "") 11set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE NEVER CACHE STRING "") 12