save works

This commit is contained in:
Rongsong Shen 2026-03-06 18:20:30 +08:00
parent 47fc32b02c
commit 43dc12a36c
19 changed files with 80 additions and 72 deletions

View file

@ -11,14 +11,18 @@ if get_option('buildtype') == 'debug'
# add -DWITH_DEBUG=1
add_project_arguments(['-DWITH_DEBUG=1',
'-DDEBUG',
'-O0',
'-fno-lto',
'-Wno-cpp',
'-fno-inline',
'-fno-omit-frame-pointer',
'-ggdb',
'-gdwarf-4',
'-g3',
'-fvar-tracking',
'-fvar-tracking-assignments',
], language: ['c', 'cpp'])
add_project_link_arguments('-fno-lto', language: ['c', 'cpp'])
with_debug=true
endif