godot/core/os
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
..
SCsub
dir_access.cpp Fix exporting big templates 2022-11-30 15:34:26 +01:00
dir_access.h Additional fixes to the Android `get_current_dir()` implementation. 2022-08-30 10:08:30 -07:00
file_access.cpp Add FileAccess::get_access_type() 2022-08-29 15:44:29 +02:00
file_access.h Add FileAccess::get_access_type() 2022-08-29 15:44:29 +02:00
input.cpp Fix action name completion for `Input.get_{axis,vector}` 2022-08-15 23:44:11 +08:00
input.h Merge pull request #63643 from aaronfranke/3.x-mouse-mode-ch 2022-08-08 14:36:45 +02:00
input_event.cpp Fix `InputEventAction`'s `is_action` method ignoring `exact_match` parameter 2022-12-12 14:44:20 +08:00
input_event.h Add `double_tap` attribute to `InputEventScreenTouch` 2022-10-20 11:56:11 -07:00
keyboard.cpp
keyboard.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
main_loop.cpp
main_loop.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
memory.cpp
memory.h [Core] Use std type traits to check operations triviality. 2022-08-04 15:20:28 +02:00
midi_driver.cpp Fix MIDI note-on events being converted to note-off events 2022-11-30 15:36:03 +01:00
midi_driver.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
mutex.cpp
mutex.h
os.cpp SCons: Cleanup `DEBUG`, `_DEBUG` and `NDEBUG` defines 2022-12-12 14:49:21 +01:00
os.h SCons: Cleanup `DEBUG`, `_DEBUG` and `NDEBUG` defines 2022-12-12 14:49:21 +01:00
rw_lock.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
semaphore.h
spin_lock.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
thread.cpp
thread.h
thread_safe.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
thread_work_pool.cpp
thread_work_pool.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
threaded_array_processor.h
time.cpp Fix Time.get_unix_time_from_system() not including msecs 2022-08-08 20:31:51 +08:00
time.h