110 Commits
Author SHA1 Message Date
Luke Street dbad3087b6 Support clean_extab feature
See documentation for more details.
2025-06-01 22:12:17 -06:00
Luke Street 30945827b0 Check source file path case 2025-06-01 16:18:07 -06:00
Luke Street c3ddfc779c Only use asm from asm_dir if source is non-matching
Resolves #49
2025-06-01 15:40:24 -06:00
Luke Street f6f10ea187 Remove depfile from GNU as commands
Instead, hardcodes an implicit dependency on
build/GAMEID/include/macros.inc, which is
always written by decomp-toolkit.

Resolves #51
2025-06-01 15:35:25 -06:00
Luke Street c73e4b8f87 Remove "host" build rules
This feature was designed as an experiment in
Prime's build script, and ended up getting pulled
into the initial dtk-template. It doesn't have
proper configuration options or any usage in the
wild. Projects aiming to port their code will
use CMake or a similar build system instead.
2025-06-01 15:24:41 -06:00
LagoLunaticandLuke Street e8f1f4c302 Rebuild report.json when configure.py is modified
Co-authored-by: Luke Street <luke@street.dev>
2025-06-01 15:16:04 -06:00
LagoLunaticandLuke Street 19dd6f8a3b Add --warn argument to configure.py 2025-06-01 15:16:04 -06:00
LagoLunaticandGitHub 4b9499ae71 ninja changes: Don't round up to 100% (#56) 2025-05-20 23:43:57 -06:00
Luke Street 2cd0b6703f Update compilers & add mapping for GC/1.1p1 2025-05-20 22:07:01 -06:00
1abea6952b Allow customizing progress report config arguments (#55)
* Update dtk, objdiff, sjiswrap, and wibo

* Allow customizing progress report config arguments

* Enable function reloc diffing in default configure.py

* Update comment & disable data_value config by default

---------

Co-authored-by: Luke Street <luke@street.dev>
2025-05-17 23:00:08 -06:00
bbb651 🇮🇱andGitHub 7aeeeb5317 Fix typo in config.yml (#54) 2025-05-15 05:47:45 -06:00
Luke Street 2e907657cc Updates for decomp.dev (replaces frogress)
Resolves #52
2025-05-06 21:40:23 -06:00
LagoLunaticandGitHub bb558596e3 ninja changes: Fix old Python version compatibility (#53) 2025-04-25 11:23:52 -06:00
LagoLunaticandGitHub f67064940d Implement progress report regression testing (#50)
* Implement progress report regression testing

* Rename to "changes"

* chmod+x again

* Add [...] when truncating long symbols

* Make `ninja baseline` always be rerun, even if file times are older

* Make `ninja changes` also always be rerun, ignoring file times
2025-04-18 18:49:47 -06:00
Steven CasperandGitHub 98383b934b Bump tool versions; Add GC/2.0p1 compiler (#48) 2025-04-18 18:46:55 -06:00
Luke Street 57f5777025 Add link_order_callback feature
See comments in configure.py for feature documentation.

Resolves #6
2024-12-30 17:54:31 -07:00
CreateSourceandGitHub ca32d3f429 fix a bug where computers would fail SSL certification when running ... (#42)
* fix a bug where computers would fail SSL certification when running download_tool.py

* Remove auto install script

* Determine type of URLError

* Update download_tool.py
2024-12-30 17:53:44 -07:00
NathanandGitHub e72bd7a99e Adjust version defines to avoid name collisions and improve usage ergonomics (#45)
* Rename `VERSION` define to `BUILD_VERSION` to avoid some possible name collisions

* Set a unique define per game version in addition to the `BUILD_VERSION` define
2024-12-14 12:14:21 -07:00
Luke Street 54bf50ee31 Update tool versions 2024-11-24 00:16:24 -07:00
Luke Street d34e7c95db decompctx: Automatic includes from cflags, respect #pragma once
Resolves #23, #43
2024-11-23 18:24:47 -07:00
Luke Street 065fc7b715 Add scratch_preset_id option for objdiff decomp.me integration 2024-11-07 09:30:54 -07:00
Luke Street 14c60bb5a5 Use phony targets & order_only for custom build rules
This deduplicates dependencies on custom build rules by writing
them once and using phony targets to collect them.

Uses order_only instead of implicit dependencies to avoid
rebuilding source files when a custom build rule is dirty.

Cleans up typing issues in ninja_syntax.py.
2024-10-29 23:41:18 -06:00
Luke Street f29a46abae Update tools (& sjiswrap v1.2.0 for GC 3.0+ support) 2024-10-27 16:33:26 -06:00
NathanandGitHub b32dc87752 Don't show objects as diffable in objdiff if a source file doesn't exist (#40) 2024-10-21 06:54:52 -07:00
Luke Street bcd50ed0b9 Don't error on empty report categories 2024-10-18 20:54:45 -06:00