godot/core/os
Rémi Verschelde 26e9145c26 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.
2022-09-23 15:21:26 +02:00
..
keyboard.cpp Fix key mapping changes when moving from macOS to other platform 2022-09-07 18:45:35 +02:00
keyboard.h Fix key mapping changes when moving from macOS to other platform 2022-09-07 18:45:35 +02:00
main_loop.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
main_loop.h Object: Remove unused category boilerplate 2022-03-26 15:46:01 +01:00
memory.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
memory.h [Core] Use std type traits to check operations triviality. 2022-08-04 14:05:17 +02:00
midi_driver.cpp Improve compilation speed (forward declarations/includes cleanup) 2022-02-12 02:46:22 +01:00
midi_driver.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
mutex.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
mutex.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
os.cpp SCons: Cleanup DEBUG, _DEBUG and NDEBUG defines 2022-09-23 15:21:26 +02:00
os.h SCons: Cleanup DEBUG, _DEBUG and NDEBUG defines 2022-09-23 15:21:26 +02:00
pool_allocator.cpp SCons: Cleanup DEBUG, _DEBUG and NDEBUG defines 2022-09-23 15:21:26 +02:00
pool_allocator.h Style: Partially apply clang-tidy's cppcoreguidelines-pro-type-member-init 2022-05-02 16:28:25 +02:00
rw_lock.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
semaphore.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
spin_lock.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
thread_safe.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
thread.cpp Include platform_config.h in thread.cpp and thread.h 2022-03-14 12:36:06 +01:00
thread.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
threaded_array_processor.h Improve compilation speed (forward declarations/includes cleanup) 2022-02-12 02:46:22 +01:00
time.cpp Fixes #65377: get_datetime_* functions can return wrong values 2022-09-10 07:58:38 +08:00
time.h Fix inconsistent naming in Time 2022-05-05 16:00:37 +02:00