summaryrefslogtreecommitdiff
path: root/modules/bullet
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-01-27 11:27:50 +0100
committerGitHub <noreply@github.com>2019-01-27 11:27:50 +0100
commite2b839134db3e642e92c353333c50359fd15b539 (patch)
tree793f8a177e1f36a479071dd5a3bde3b88caf7275 /modules/bullet
parent4a8dc09eab7960d7cefbb3af449b41730e48e3ce (diff)
parent3e78a55e14c71bfe334521de1748a0b95a70a5d2 (diff)
Merge pull request #25367 from akien-mga/bullet-debug
Bullet: Enable BT_DEBUG on debug builds
Diffstat (limited to 'modules/bullet')
-rw-r--r--modules/bullet/SCsub2
1 files changed, 2 insertions, 0 deletions
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()