Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Do not leak library specific defines #32

Open
wants to merge 2 commits into
base: release
Choose a base branch
from

Conversation

sandercox
Copy link

CRT warning levels are not something this library should set for anything that depends on the library. So most of these should remain private within the libntv2

CRT warning levels are not something this library should set for
anything that depends on the library. So most of these should remain
private within the libntv2
CMAKE_BUILD_TYPE usefullness depends on the generator being used.
Sometimes there is a single configure for Release and Debug and that
doesn't work this way.

There is an option to do config type based defines using generator
expressions. Rewrote this part to include this for the NDEBUG define.

NDEBUG was causing our software to be partially built with NDEBUG in
debug builds causing issues with header libraries we use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant