2012-04-24 01:22:36 +00:00
|
|
|
# Copyright 2012 Wolfgang Thaller.
|
|
|
|
#
|
|
|
|
# This file is part of Retro68.
|
|
|
|
#
|
|
|
|
# Retro68 is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# Retro68 is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with Retro68. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2012-03-29 19:59:18 +00:00
|
|
|
set( CMAKE_SYSTEM_NAME Retro68 )
|
|
|
|
set( CMAKE_SYSTEM_VERSION 1)
|
|
|
|
|
2015-07-15 23:26:11 +00:00
|
|
|
set( RETRO68_ROOT "@CMAKE_INSTALL_PREFIX@" CACHE PATH "path to root of Retro68 Toolchain" )
|
2012-04-05 22:45:04 +00:00
|
|
|
set( CMAKE_INSTALL_PREFIX "${RETRO68_ROOT}/m68k-unknown-elf/" CACHE PATH "installation prefix" )
|
2012-03-29 19:59:18 +00:00
|
|
|
|
|
|
|
set( MAKE_APPL "${RETRO68_ROOT}/bin/MakeAPPL" )
|
2014-10-12 17:17:04 +00:00
|
|
|
set( REZ "${RETRO68_ROOT}/bin/Rez" )
|
2015-07-20 01:29:25 +00:00
|
|
|
set( REZ_INCLUDE_PATH "${CMAKE_INSTALL_PREFIX}/RIncludes" )
|
2012-03-29 19:59:18 +00:00
|
|
|
|
|
|
|
set( CMAKE_C_COMPILER "${RETRO68_ROOT}/bin/m68k-unknown-elf-gcc" )
|
|
|
|
set( CMAKE_CXX_COMPILER "${RETRO68_ROOT}/bin/m68k-unknown-elf-g++" )
|
|
|
|
|
2015-07-15 23:26:11 +00:00
|
|
|
list( APPEND CMAKE_MODULE_PATH "${RETRO68_ROOT}/cmake" )
|
|
|
|
include(add_application)
|