• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This one is important
2SET(CMAKE_SYSTEM_NAME Linux)
3SET(CMAKE_SYSTEM_PROCESSOR i686)
4
5# Specify the cross compiler
6SET(CMAKE_C_COMPILER   gcc)
7SET(CMAKE_CXX_COMPILER g++)
8
9# Where is the target environment
10SET(CMAKE_FIND_ROOT_PATH  /)
11
12# Search for programs in the build host directories
13SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
14
15# For libraries and headers in the target directories
16SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
17SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
18
19