mirror of
https://github.com/red031000/nitrogfx.git
synced 2025-06-18 21:25:38 -04:00
commit
2b6695b0b7
24
meson.build
Normal file
24
meson.build
Normal file
@ -0,0 +1,24 @@
|
||||
project('nitrogfx', 'c')
|
||||
|
||||
native = get_option('native')
|
||||
|
||||
libpng_dep = dependency('libpng', native: native)
|
||||
|
||||
nitrogfx_exe = executable('nitrogfx',
|
||||
sources: [
|
||||
'main.c',
|
||||
'convert_png.c',
|
||||
'gfx.c',
|
||||
'jasc_pal.c',
|
||||
'lz.c',
|
||||
'rl.c',
|
||||
'util.c',
|
||||
'font.c',
|
||||
'huff.c',
|
||||
'json.c',
|
||||
'cJSON.c',
|
||||
],
|
||||
dependencies: libpng_dep,
|
||||
native: native,
|
||||
install: true
|
||||
)
|
1
meson_options.txt
Normal file
1
meson_options.txt
Normal file
@ -0,0 +1 @@
|
||||
option('native', type : 'boolean', value : false, description: 'Force native compilation, even in a cross-compilation setup')
|
Loading…
Reference in New Issue
Block a user