Skip to content

Implement _DEBUG in a more cross-platform way.#1739

Open
DeaTh-G wants to merge 1 commit intomainfrom
cross-platform-debug-flag
Open

Implement _DEBUG in a more cross-platform way.#1739
DeaTh-G wants to merge 1 commit intomainfrom
cross-platform-debug-flag

Conversation

@DeaTh-G
Copy link
Contributor

@DeaTh-G DeaTh-G commented Feb 28, 2026

The change has been tested with debug versions of Windows and Linux builds. MacOS has not yet been tested with this.
Should be tested against Flatpak Debug builds as well once #1730 is merged in.

Open questions:

  • Should RelWithDebInfo inherit this trait as well? Currently it doesn't.

Fixes #1436.

@DeaTh-G DeaTh-G changed the title implement cross platform debug flag Implement _DEBUG in a more cross-platform way. Feb 28, 2026
@DeaTh-G DeaTh-G marked this pull request as ready for review February 28, 2026 15:05
@DeaTh-G DeaTh-G added the help wanted Extra attention is needed label Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

help wanted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LOG_UTILITY doesn't work on Linux because _DEBUG is not set

1 participant