massive feat: added a GDB stub for debugging
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
10
meson.build
10
meson.build
@@ -7,8 +7,18 @@ project('matar', 'cpp',
|
||||
'cpp_std=c++23',
|
||||
'default_library=static'])
|
||||
|
||||
lib_cpp_args = []
|
||||
compiler = meson.get_compiler('cpp')
|
||||
|
||||
if get_option('disassembler')
|
||||
lib_cpp_args += '-DDISASSEMBLER'
|
||||
endif
|
||||
|
||||
if get_option('gdb_debug')
|
||||
lib_cpp_args += '-DGDB_DEBUG'
|
||||
endif
|
||||
|
||||
|
||||
subdir('include')
|
||||
subdir('src')
|
||||
subdir('apps')
|
||||
|
||||
Reference in New Issue
Block a user