Hi,
I was able to figure it out. For anyone else who tries to compile for 3ds here the steps I used:
You obviously have to have devkitpro/devkitarm and libctru installed. I additionally had to download and build picasso and bannertool. To help cmake find the executables I linked them into the bin directory of devkitarm. There were problems building the .cia, but I just commented out its block in src/platform/3ds/CMakeLists.txt as I don't need it.
Hope this helps someone.
I was able to figure it out. For anyone else who tries to compile for 3ds here the steps I used:
Code:
export DEVKITPRO=... DEVKITARM=...
git clone https://github.com/mgba-emu/mgba.git
mkdir mgba/build
cd mgba/build
cmake -DCMAKE_TOOLCHAIN_FILE=../src/platform/3ds/CMakeToolchain.txt ..
make
You obviously have to have devkitpro/devkitarm and libctru installed. I additionally had to download and build picasso and bannertool. To help cmake find the executables I linked them into the bin directory of devkitarm. There were problems building the .cia, but I just commented out its block in src/platform/3ds/CMakeLists.txt as I don't need it.
Hope this helps someone.