felixjones / gba-toolchain-template

Template CMake project for gba-toolchain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gba-toolchain Template

This template builds a version of the Tonc Brinstar demo.

Image of Brinstar from Metroid

Cloning

A submodule for gba-toolchain is provided, however an existing install of gba-toolchain can be used by modifying the toolchainFile field of CMakePresets.json.

git clone --recurse-submodules https://github.com/felixjones/gba-toolchain-template.git

Requirements

Additional

A host compiler is required if grit is not detected.

FreeImage will be compiled during the configure process if both grit is not detected and FreeImage.

Build with CMake

Command line

Configure gba-toolchain preset into cmake-build (see CMakePresets.json)

cmake --preset gba-toolchain

Build brin_demo.elf as release into cmake-build

cmake --build --preset release

Install brin_demo.gba into bin

cmake --install cmake-build

About

Template CMake project for gba-toolchain


Languages

Language:CMake 50.3%Language:C 49.7%