diff options
| author | ruki <[email protected]> | 2017-08-15 11:46:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-08-15 11:46:15 +0800 |
| commit | f7083cb5c14a5cf84c9c0ccd07891a251ec39b35 (patch) | |
| tree | 57e69120df68055805368831de0bfa087d555c76 /core/src/tbox/xmake.lua | |
| parent | ed80709acfcf740f48375512b1f6cf6a0b009d5c (diff) | |
disable debug for coverage
Diffstat (limited to 'core/src/tbox/xmake.lua')
| -rw-r--r-- | core/src/tbox/xmake.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/tbox/xmake.lua b/core/src/tbox/xmake.lua index 7c447968a..945300b91 100644 --- a/core/src/tbox/xmake.lua +++ b/core/src/tbox/xmake.lua @@ -32,7 +32,9 @@ if is_mode("debug", "check", "coverage") then set_optimize("none") -- add defines for debug - add_defines("__tb_debug__") + if not is_mode("coverage") then + add_defines("__tb_debug__") + end -- attempt to enable some checkers for pc if is_mode("check") and is_arch("i386", "x86_64") then |
