diff options
| -rwxr-xr-x | core/src/tbox/xmake.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/tbox/xmake.sh b/core/src/tbox/xmake.sh index ee9a162bb..310a66f8d 100755 --- a/core/src/tbox/xmake.sh +++ b/core/src/tbox/xmake.sh @@ -27,3 +27,6 @@ target "tbox" set_configvar "TB_CONFIG_FORCE_UTF8" 1 set_configvar "TB_CONFIG_TYPE_HAVE_FLOAT" 1 add_includedirs "inc/${plat}" "{public}" + if is_mode "debug"; then + add_defines "__tb_debug__" + fi |
