spdlog: default to debug level fix

pull/1153/head
Alessandro Toia 8 months ago
parent fbc9cb3175
commit 2b29f2d89d

@ -31,8 +31,9 @@ pre_args = [
if get_option('buildtype') == 'debug' if get_option('buildtype') == 'debug'
pre_args += '-DDEBUG' pre_args += '-DDEBUG'
pre_args += '-DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_TRACE' pre_args += '-DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_TRACE'
else
pre_args += '-DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_DEBUG'
endif endif
pre_args += '-DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_DEBUG'
# TODO: this is very incomplete # TODO: this is very incomplete
is_unixy = false is_unixy = false
if ['linux', 'cygwin', 'gnu'].contains(host_machine.system()) if ['linux', 'cygwin', 'gnu'].contains(host_machine.system())

Loading…
Cancel
Save