HatariWii/etc/GP2X_Wiz/crossdefs.wiz

28 lines
844 B
Plaintext
Raw Normal View History

2018-05-25 20:45:09 +02:00
#
# CMake crossdefs for GP2X Wiz target for Hatari
# (c) by 2011 by Matthias Arndt <marndt@asmsoftware.de>
#
#
# USE AT YOUR OWN RISK and tweak as required!
#
# 2011-04-05 v0.01
#
# this one is important
SET(CMAKE_SYSTEM_NAME Linux)
#this one not so much
SET(CMAKE_SYSTEM_VERSION 1)
# specify the cross compiler
SET(CMAKE_C_COMPILER /opt/arm-openwiz-linux-gnu/bin/arm-openwiz-linux-gnu-gcc)
SET(CMAKE_CXX_COMPILER /opt/arm-openwiz-linux-gnu/bin/arm-openwiz-linux-gnu-g++)
# where is the target environment
SET(CMAKE_FIND_ROOT_PATH /opt/arm-openwiz-linux-gnu/arm-openwiz-linux-gnu/sys-root-newsdl)
# search for programs in the build host directories
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
# for libraries and headers in the target directories
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)