Merge pull request #25367 from akien-mga/bullet-debug

Bullet: Enable BT_DEBUG on debug builds
This commit is contained in:
Rémi Verschelde 2019-01-27 11:27:50 +01:00 committed by GitHub
commit e2b839134d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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