project( 'haxcc', ['c', 'cpp'], version : '0.1', default_options : [ 'warning_level=3', 'c_std=c2x', 'cpp_std=c++23' ]) ldscript = 'haxcc.ld' executable( 'haxcc', [ 'hello.cpp', 'haxcc.c', 'mods/mod_a.c', 'mods/mod_b.c', 'mods/mod_c.c', ], link_args: ['-Wl,-T', meson.source_root() / ldscript, '-no-pie' ], install : false )