Files
cadmic 65e87efb32 Switch build system to use ninja and dtk and support multiple versions (#127)
* Start dtk project based on oot-gc-dtk

* Add asm_processor build rules

* Encode shift-JIS strings

* Generate build for all versions at the same time

* Update diff.py for new build layout

* Implement per-version object completion

* Add ce-u and match emu files

* Fix config/ce-j/build.sha1

* Add dol-diff, dol-apply, and format scripts

* Add configure.py --non-matching

* Delete old build system

* Reorganize library files

* Make diff.py multi-version but remove target line-number support

* Update README for new build system

* Change diff.py build command to ninja

* ./dol-apply ce-u

* Recommend ./diff.py -mwo3

* Upgrade to dtk v0.8.3, use block_relocations instead of noreloc

* Mark soundGCN.c as matched
2024-05-20 17:27:48 -07:00

12 lines
323 B
Bash
Executable File

#!/bin/bash
# Wrapper for `dtk dol apply` to automatically update dtk symbols from the elf.
# Usage: ./dol-apply [VERSION]
# If VERSION is not provided, it defaults to ce-j.
set -euo pipefail
VERSION=${1:-ce-j}
ninja "build/$VERSION/ok"
build/tools/dtk dol apply "config/$VERSION/config.yml" "build/$VERSION/oot-gc.elf"