-
-
Notifications
You must be signed in to change notification settings - Fork 981
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
Switching between release/ debug not possible #1303
Comments
This comment was marked as duplicate.
This comment was marked as duplicate.
to get a debug build, you must specify the build-type at configure time via CLI:
otherwise CMake just uses Release by default, but you only get to choose the type in the GUI after you hit configure. |
hello there, I ask myself, is it possible or is there anybody kind enough, and I know it's time consumming but it's important, just for helping newbies like me, to have a clear receipe, step by step, without considering that we know, a kind of tutorial about how to construct ogre fully and successfully with msvc 2019 both in debug, and release for everyone can enjoy this great (well it seems great ) framework. Can I say thank you in advance ? And may be ... please, command line only beacuse it seems cmake-gui will not be the good tool if I understand well, am I? |
This comment was marked as resolved.
This comment was marked as resolved.
tested this yesterday with cmake 3.23.2 and ogre 13.4.0. (despite the screenshot saying 3.23.1) |
for multi-config generators, notably Xcode and MSVC, switching release/ debug builds is not possible.
This is due to the dependencies being installed with the config of the first build and not being rebuild accordingly.
The workaround for now is to use two build directories - one for release and one for debug.
example error messages:
The text was updated successfully, but these errors were encountered: