diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2019-12-08 17:35:13 +0100 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-04-01 18:37:52 +0100 |
commit | ff90327146a39d0d79d7ddb30e7f6289ea94deb3 (patch) | |
tree | 88cae25c36aac6d60c967c8f9d6317ff20dc369c /modules/bullet/SCsub | |
parent | f7b8d0c688dc15b8841ac13990569dda81bf0652 (diff) |
Enable Bullet DEBUG on debug builds.
Diffstat (limited to 'modules/bullet/SCsub')
-rw-r--r-- | modules/bullet/SCsub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bullet/SCsub b/modules/bullet/SCsub index 692c749886..0c7ff35b17 100644 --- a/modules/bullet/SCsub +++ b/modules/bullet/SCsub @@ -200,8 +200,8 @@ if env["builtin_bullet"]: env_bullet.Append(CPPFLAGS=["-isystem", Dir(thirdparty_dir).path]) else: env_bullet.Prepend(CPPPATH=[thirdparty_dir]) - # if env['target'] == "debug" or env['target'] == "release_debug": - # env_bullet.Append(CPPDEFINES=['BT_DEBUG']) + if env["target"] == "debug" or env["target"] == "release_debug": + env_bullet.Append(CPPDEFINES=["DEBUG"]) env_thirdparty = env_bullet.Clone() env_thirdparty.disable_warnings() |