From 3e78a55e14c71bfe334521de1748a0b95a70a5d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 27 Jan 2019 11:04:43 +0100 Subject: Bullet: Enable BT_DEBUG on debug builds Fixes #25301. --- modules/bullet/SCsub | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/bullet') diff --git a/modules/bullet/SCsub b/modules/bullet/SCsub index 11ce18449b..0416dd7f5f 100644 --- a/modules/bullet/SCsub +++ b/modules/bullet/SCsub @@ -187,6 +187,8 @@ if env['builtin_bullet']: thirdparty_sources = [thirdparty_dir + file for file in bullet2_src] env_bullet.Append(CPPPATH=[thirdparty_dir]) + if env['target'] == "debug" or env['target'] == "release_debug": + env_bullet.Append(CCFLAGS=['-DBT_DEBUG']) env_thirdparty = env_bullet.Clone() env_thirdparty.disable_warnings() -- cgit v1.2.3