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
..
2022-09-20 17:27:46 +02:00
2022-08-05 23:43:54 +02:00
2022-11-16 06:52:47 -08:00
2022-12-04 20:00:08 +08:00
2022-12-12 14:49:21 +01:00
2022-11-14 19:11:41 +01:00
2022-11-14 19:11:41 +01:00
2022-01-13 15:54:13 +01:00
2022-07-25 14:53:37 +02:00
2022-04-01 18:20:33 -03:00
2022-04-01 18:20:33 -03:00
2022-03-17 15:49:58 +01:00
2022-01-13 15:54:13 +01:00
2022-07-25 14:53:37 +02:00
2022-01-13 15:54:13 +01:00
2022-07-25 14:53:37 +02:00
2022-01-13 15:54:13 +01:00
2022-02-11 09:50:59 +01:00
2021-07-14 23:09:47 +02:00
2022-01-13 15:54:13 +01:00
2022-07-25 14:53:37 +02:00
2022-08-04 15:20:28 +02:00
2022-09-05 16:08:41 +02:00
2022-09-05 16:08:41 +02:00
2022-02-10 13:06:56 +01:00
2022-01-13 15:54:13 +01:00
2022-07-25 14:53:37 +02:00
2022-06-30 19:23:02 +02:00
2022-08-26 16:04:54 +01:00
2022-01-13 15:54:13 +01:00
2022-01-13 15:54:13 +01:00
2022-10-14 09:33:24 -06:00
2022-01-13 15:54:13 +01:00
2022-07-25 14:53:37 +02:00
2022-07-25 14:53:37 +02:00
2022-11-30 15:34:27 +01:00
2022-07-25 14:53:37 +02:00
2022-01-13 22:29:18 -06:00
2022-01-13 15:54:13 +01:00
2022-07-25 14:53:37 +02:00
2022-07-25 14:53:37 +02:00
2022-08-04 15:20:28 +02:00
2022-07-04 11:49:20 +03:00
2022-04-02 14:32:01 -03:00
2022-07-25 14:53:37 +02:00
2022-01-13 15:54:13 +01:00
2022-01-13 15:54:13 +01:00
2022-04-01 18:20:33 -03:00
2022-07-25 14:53:37 +02:00
2022-07-25 14:53:37 +02:00
2022-01-13 15:54:13 +01:00
2022-07-25 14:53:37 +02:00
2022-07-25 14:53:37 +02:00
2022-07-25 14:53:37 +02:00
2022-07-25 14:53:37 +02:00
2022-10-12 20:55:41 +02:00
2022-08-05 23:45:17 +02:00
2022-01-13 15:54:13 +01:00
2022-01-13 15:54:13 +01:00
2022-01-13 15:54:13 +01:00
2022-01-13 15:54:13 +01:00
2022-01-13 15:54:13 +01:00
2022-01-13 15:54:13 +01:00
2022-01-13 15:54:13 +01:00
2022-12-12 14:49:21 +01:00
2022-07-25 14:53:37 +02:00
2022-01-13 15:54:13 +01:00
2022-08-10 17:31:29 +08:00
2022-01-13 15:54:13 +01:00
2022-01-13 15:54:13 +01:00
2022-07-25 14:53:37 +02:00
2022-11-30 15:34:27 +01:00
2022-07-25 14:53:37 +02:00
2022-01-13 15:54:13 +01:00
2022-07-25 14:53:37 +02:00
2022-01-13 15:54:13 +01:00
2022-04-01 18:20:33 -03:00
2022-07-19 09:16:41 -05:00
2022-07-25 14:53:37 +02:00
2022-01-13 15:54:13 +01:00
2022-07-25 14:53:37 +02:00
2022-04-23 09:09:50 +01:00
2022-04-23 09:09:50 +01:00
2022-01-13 15:54:13 +01:00
2022-12-12 09:10:37 +01:00
2022-07-25 14:53:37 +02:00
2022-01-13 15:54:13 +01:00
2022-07-19 17:10:26 +02:00
2022-05-06 19:31:31 +02:00
2022-05-06 19:31:31 +02:00
2022-01-13 15:54:13 +01:00
2022-07-25 14:53:37 +02:00
2022-08-24 18:26:28 +02:00
2022-01-13 15:54:13 +01:00
2022-07-25 14:53:37 +02:00
2022-07-25 14:53:37 +02:00
2022-01-13 15:54:13 +01:00
2022-07-25 14:53:37 +02:00
2022-01-13 15:54:13 +01:00
2022-01-13 15:54:13 +01:00
2022-01-13 15:54:13 +01:00
2022-04-26 13:55:48 +02:00
2022-01-13 15:54:13 +01:00
2022-07-04 11:49:20 +03:00
2022-07-04 11:49:20 +03:00
2022-07-25 14:53:37 +02:00
2022-02-24 16:46:02 +00:00
2022-07-25 14:53:37 +02:00
2022-03-08 13:10:48 +01:00
2022-03-02 12:02:37 +01:00
2022-11-24 16:06:52 +01:00
2022-08-01 00:40:55 +02:00
2022-11-14 19:11:41 +01:00
2022-09-21 13:23:17 +02:00
2022-11-24 15:58:23 +00:00
2022-11-24 15:58:23 +00:00
2022-01-13 15:54:13 +01:00
2022-07-25 14:53:37 +02:00
2022-07-25 14:53:37 +02:00
2022-07-25 14:53:37 +02:00
2022-07-25 14:53:37 +02:00
2022-01-13 15:54:13 +01:00