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

Improve setting default build type for CMake #1519

Closed
wants to merge 1 commit into from
Closed

Improve setting default build type for CMake #1519

wants to merge 1 commit into from

Conversation

mloskot
Copy link
Contributor

@mloskot mloskot commented May 23, 2019

Keep the Release as default build type.
Switch to the Debug as default for development, when building locally from Git repository, unless building on CI job.
Do not set CMAKE_BUILD_TYPE for multi configuration generators.

Follows https://blog.kitware.com/cmake-and-the-default-build-type/

Improves #319

Keep the Release as default build type.
Switch to the Debug as default for development, when building
locally from Git repository, unless building on CI job.
Do not set CMAKE_BUILD_TYPE for multi configuration generators.

Follows https://blog.kitware.com/cmake-and-the-default-build-type/

Improves #319
@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.921% when pulling ed62fde on mloskot:ml/improve-default-build-type into 4b3d7c2 on Tencent:master.

@smancill smancill mentioned this pull request Sep 10, 2019
This pull request was closed.
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.

2 participants