Skip to content

Commit

Permalink
Added FindGBA
Browse files Browse the repository at this point in the history
  • Loading branch information
javsalgar committed Jul 8, 2015
1 parent 701bea0 commit 9f01483
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions cmake/FindGBA.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
#
# QTCreator Homebrew Project
# Author: Javier J. Salmeron Garcia
# E-mail: [email protected]
#
# FindGBA
#
# This module detects the Devkitpro compiler, and sets the corresponding compiler
# for GBA Roms
#
# The following variables are set:
#
# DEVKITPRO DEVKITARM: Path to the Devkitarm folder in the system. This is done by using the
# environment bash variable DEVKITARM or DEVKITPRO. These variables are set when installing
# devkitpro
#
# A function is added for compiling GBA Roms
#
# add_gba_rom : This function receives the rom name and the source files.
#

set(CMAKE_SYSTEM_NAME Generic)
set(cmake_system_processor arm)
set(cmake_crosscompiling 1)
Expand Down

0 comments on commit 9f01483

Please sign in to comment.