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

Debug build types #2

Open
rbtcollins opened this issue May 2, 2022 · 1 comment
Open

Debug build types #2

rbtcollins opened this issue May 2, 2022 · 1 comment

Comments

@rbtcollins
Copy link

Hi, the assumption that the build type is Release when the generator isn't Visual Studio isn't portable - Debug builds in particular, but also I suspect RelWithDebInfo builds will want a debug build of cppunit (though perhaps under the same simple variable) - the multi-config generators would collapse to a single variable via the use of generator expressions -https://cmake.org/cmake/help/latest/manual/cmake-generator-expressions.7.html

@rbtcollins
Copy link
Author

CMAKE_BUILD_TYPE can be checked to find the configured build type.

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

No branches or pull requests

1 participant