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

cmake/re-config: add default CMAKE_BUILD_TYPE and fix RELEASE definition #945

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

sreimers
Copy link
Member

@sreimers sreimers commented Sep 6, 2023

Empty CMAKE_BUILD_TYPE is not equal to Debug build and can lead to missing debug symbols. Since cmake also support build configurations (for IDE's) it's better to set RELEASE definition by CONFIG generator expression.

Empty CMAKE_BUILD_TYPE is not equal to Debug build and can lead to
missing debug symbols. Since cmake also non build configurations it's
better to set RELEASE definition by CONFIG generator expression.
@sreimers sreimers marked this pull request as ready for review September 6, 2023 11:03
@sreimers sreimers modified the milestones: v3.6.0, v3.5.0 Sep 6, 2023
@sreimers sreimers merged commit baa8427 into main Sep 8, 2023
@sreimers sreimers deleted the cmake_release_expression branch September 8, 2023 09:48
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