|
|
1.1 root 1: #
2: # CMake crossdefs for GP2X Wiz target for Hatari
3: # (c) by 2011 by Matthias Arndt <[email protected]>
4: #
5: #
6: # USE AT YOUR OWN RISK and tweak as required!
7: #
8: # 2011-04-05 v0.01
9: #
10:
11: # this one is important
12: SET(CMAKE_SYSTEM_NAME Linux)
13: #this one not so much
14: SET(CMAKE_SYSTEM_VERSION 1)
15:
16: # specify the cross compiler
17: SET(CMAKE_C_COMPILER /opt/arm-openwiz-linux-gnu/bin/arm-openwiz-linux-gnu-gcc)
18: SET(CMAKE_CXX_COMPILER /opt/arm-openwiz-linux-gnu/bin/arm-openwiz-linux-gnu-g++)
19:
20: # where is the target environment
21: SET(CMAKE_FIND_ROOT_PATH /opt/arm-openwiz-linux-gnu/arm-openwiz-linux-gnu/sys-root-newsdl)
22:
23: # search for programs in the build host directories
24: SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
25: # for libraries and headers in the target directories
26: SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
27: SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.