godot/platform/windows
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
..
export [3.x] Windows icon export improvements. 2022-11-20 13:02:27 +02:00
SCsub Backport text-to-speech support. 2022-07-01 11:04:50 +03:00
context_gl_windows.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
context_gl_windows.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
crash_handler_windows.cpp [MSVC] Use symbols from .pdb only, to avoid incorrect names in the backtrace when symbols are missing. 2022-12-12 13:54:32 +08:00
crash_handler_windows.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
detect.py SCons: Cleanup `DEBUG`, `_DEBUG` and `NDEBUG` defines 2022-12-12 14:49:21 +01:00
godot.ico Change godot.ico to uncompressed/fixed size 2022-03-28 23:43:46 +02:00
godot.natvis Added LocalVector to Visual Studio debugger visualization 2021-02-25 15:14:32 +01:00
godot_res.rc PCK: Set VERSION_PATCH in header, factor out header magic 2020-01-06 13:13:17 +01:00
godot_windows.cpp Fix exit code of --help and --version, and test them in CI 2022-07-08 14:54:16 +02:00
joypad_windows.cpp Simplify InputDefault::joy_axis code by using float instead of struct JoyAxis 2022-01-14 15:36:35 +00:00
joypad_windows.h Simplify InputDefault::joy_axis code by using float instead of struct JoyAxis 2022-01-14 15:36:35 +00:00
key_mapping_windows.cpp Merge pull request #56015 from bruvzg/phy_code_conv 2022-01-16 11:36:26 +01:00
key_mapping_windows.h Merge pull request #56015 from bruvzg/phy_code_conv 2022-01-16 11:36:26 +01:00
lang_table.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
logo.png
os_windows.cpp Only support XDG directory path configuration on Linux 2022-12-12 11:13:19 +01:00
os_windows.h Keep a single, portable implementation of `OS::get_processor_count()` 2022-12-12 14:47:37 +08:00
platform_config.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
platform_windows_builders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
power_windows.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
power_windows.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
tts_windows.cpp Backport text-to-speech support. 2022-07-01 11:04:50 +03:00
tts_windows.h Backport text-to-speech support. 2022-07-01 11:04:50 +03:00
windows_terminal_logger.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
windows_terminal_logger.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00