pokeplatinum/tools/meson.build
mid-kid fa8ffe4d6b Implement manual fallback for nitrogfx
This makes it possible to pass default_options to the subproject
2023-08-02 18:04:58 +00:00

19 lines
522 B
Meson

# Native tools
subdir('csv2bin')
subdir('fixrom')
subdir('knarc')
subdir('msgenc')
subdir('postconf')
# Prebuilt tools
makebanner_exe = find_program('makebanner', native: true)
makelcf_exe = find_program('makelcf', native: true)
makerom_exe = find_program('makerom', 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