virtualx-engine/platform
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
..
android SCons: Cleanup DEBUG, _DEBUG and NDEBUG defines 2022-12-12 14:49:21 +01:00
iphone SCons: Cleanup DEBUG, _DEBUG and NDEBUG defines 2022-12-12 14:49:21 +01:00
javascript Change auto to default in cursor css settings. 2022-10-07 12:17:15 -06:00
osx Only support XDG directory path configuration on Linux 2022-12-12 11:13:19 +01:00
server Only support XDG directory path configuration on Linux 2022-12-12 11:13:19 +01:00
uwp Mono: Show custom error explaining that UWP is not supported 2022-08-23 13:21:10 +02:00
windows SCons: Cleanup DEBUG, _DEBUG and NDEBUG defines 2022-12-12 14:49:21 +01:00
x11 Fix burning CPU with udev disabled on Flatpak 2022-12-12 14:42:23 +08:00
register_platform_apis.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00