Bullet: Enable BT_DEBUG on debug builds

Fixes #25301.
This commit is contained in:
Rémi Verschelde 2019-01-27 11:04:43 +01:00
parent 4a8dc09eab
commit 3e78a55e14

View File

@ -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()