Skip to content

Conversation

Katharsas
Copy link
Contributor

@Katharsas Katharsas commented Oct 7, 2025

So basically Visual Studio has a bug (i think) where sometimes it just ignores that I have set(ZK_ENABLE_ASAN OFF) in my CMakeLists.txt. This log allows Visual Studio users to quickly see when this happens so they can run configure again.

Not really ZenKits fault but adding this would help me (it took me a really long time to figure out this is going on)^^

CMakeLists.txt Outdated
Comment on lines 113 to 114
else ()
message(WARNING "ZenKit: ASAN disabled")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's only print when it's enabled since warning messages shouldn't appear in standard builds.

Suggested change
else ()
message(WARNING "ZenKit: ASAN disabled")

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can i instead switch to message(STATUS ...) ?

@lmichaelis lmichaelis self-assigned this Oct 9, 2025
@lmichaelis lmichaelis added the enhancement New feature or request label Oct 9, 2025
@lmichaelis lmichaelis merged commit 5c838aa into GothicKit:main Oct 19, 2025
8 of 12 checks passed
@lmichaelis
Copy link
Member

That's fine, thanks :) Merged.

@Katharsas Katharsas deleted the feat/log-asan-flag branch October 19, 2025 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants