mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-26 00:32:20 -05:00
31 lines
900 B
Meson
31 lines
900 B
Meson
# Native tools
|
|
subdir('csv2bin')
|
|
subdir('fixrom')
|
|
subdir('json2bin')
|
|
subdir('knarc')
|
|
subdir('msgenc')
|
|
subdir('postconf')
|
|
subdir('scripts')
|
|
|
|
# Prebuilt tools
|
|
mwrap_exe = find_program('cw/mwrap', native: true)
|
|
makebanner_exe = find_program('makebanner', native: true)
|
|
makelcf_exe = find_program('makelcf', native: true)
|
|
makerom_exe = find_program('makerom', native: true)
|
|
|
|
# ARM binutils
|
|
arm_none_eabi_objcopy_exe = find_program('arm-none-eabi-objcopy', native: true)
|
|
|
|
# External tools
|
|
nitrogfx_exe = find_program('nitrogfx', native: true, required: false)
|
|
if not nitrogfx_exe.found()
|
|
subproject('nitrogfx', default_options: 'native=true')
|
|
nitrogfx_exe = find_program('nitrogfx', native: true)
|
|
endif
|
|
|
|
constgen_py = find_program('constgen_py', native: true, required: false)
|
|
if not constgen_py.found()
|
|
subproject('constgen')
|
|
constgen_py = find_program('constgen_py', native: true)
|
|
endif
|