Skip to content

Commit

Permalink
Enable Bullet DEBUG on debug builds (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielaOrtner authored Aug 24, 2024
2 parents f5a7ec3 + 0362937 commit afa867b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/bullet/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ if env["builtin_bullet"]:
env_bullet.Prepend(CPPPATH=[thirdparty_dir])

env_bullet.Append(CPPDEFINES=["BT_USE_OLD_DAMPING_METHOD", "BT_THREADSAFE"])
if env["target"] == "debug" or env["target"] == "release_debug":
env_bullet.Append(CPPDEFINES=["DEBUG"])

env_thirdparty = env_bullet.Clone()
env_thirdparty.disable_warnings()
Expand Down

0 comments on commit afa867b

Please sign in to comment.