virtualx-engine/modules/raycast
Rémi Verschelde b0b759e6da
SCons: Cleanup DEBUG, _DEBUG and NDEBUG defines
- `_DEBUG` is MSVC specific so it didn't make much sense to define for
  Android and iOS builds.
- iOS was the only platform to define `DEBUG`. We don't use it anywhere
  outside thirdparty code, which we usually don't intend to debug, so it
  seems better to be consistent with other platforms.
- Consistently define `NDEBUG` to disable assert behavior in both `release`
  and `release_debug` targets. This used to be set for `release` for all
  platforms, and `release_debug` for Android and iOS only.
- Due to the above, I removed the only use we made of `assert()` in Godot
  code, which was only implemented for Unix anyway, should have been
  `DEV_ENABLED`, and is in PoolAllocator which we don't actually use.
- The denoise and recast modules keep defining `NDEBUG` even for the `debug`
  target as we don't want OIDN and Embree asserting all over the place.

(cherry picked from commit 26e9145c26)
2022-12-12 14:49:21 +01:00
..
config.py Add support for PowerPC family 2021-11-15 17:22:46 +01:00
godot_update_embree.py Upgrade Embree to the latest official release. 2021-05-22 15:14:07 +02:00
lightmap_raycaster.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
lightmap_raycaster.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
register_types.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
register_types.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
SCsub SCons: Cleanup DEBUG, _DEBUG and NDEBUG defines 2022-12-12 14:49:21 +01:00