-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move enum-based battle constants to constgen schema
- Loading branch information
1 parent
2e15638
commit 7bf253a
Showing
11 changed files
with
608 additions
and
572 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
consts_manifests = files( | ||
'battle.json' | ||
) | ||
|
||
gen_consts_includes = include_directories('.') | ||
|
||
gen_consts_root = meson.current_build_dir() / 'generated' | ||
gen_c_consts_root = gen_consts_root / 'c' | ||
gen_asm_consts_root = gen_consts_root / 'asm' | ||
|
||
generated_c_consts = custom_target('gen_c_consts', | ||
build_by_default: true, | ||
capture: true, | ||
output: 'gen_c_consts', | ||
input: consts_manifests, | ||
command: [ | ||
constgen_py, | ||
'-f', '@INPUT@', | ||
'-r', gen_c_consts_root, | ||
'-l', 'c' | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.