shithub: puzzles

ref: d7b931824b452a6b70a599c69f4f1843f1b2daa5
dir: /cmake/nestedvm-toolchain.cmake/

View raw version
SET(CMAKE_SYSTEM_NAME NestedVM)
SET(CMAKE_SYSTEM_PROCESSOR mips)

SET(CMAKE_C_COMPILER ${NESTEDVM}/upstream/install/bin/mips-unknown-elf-gcc)

SET(CMAKE_FIND_ROOT_PATH ${NESTEDVM}/upstream/install)
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)