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

Add USE_MSVC_RELEASE_RUNTIME_ALWAYS to use Release CRT even in Debug #2904

Merged
merged 1 commit into from
Jul 7, 2020

Conversation

sinbad
Copy link
Contributor

@sinbad sinbad commented Jul 1, 2020

This is another result of my noodling with UE4 & Bullet. In Debug mode, UE is built to use the Release CRT - I guess this makes sense for performance and you rarely need to debug into the CRT, but it means I couldn't use the debug build of Bullet with it.

I tried to make this work with premake but it appears the runtime option is only supported in premake 5, and I don't have the familiarity or the time to update the premake scripts to v5. So I switched to CMake, where I found the /MD options you mentioned in my other PR, thanks, and added the option there. I can now debug UE4 -> Bullet quite happily using this option.

@erwincoumans
Copy link
Member

re-trigger by close/open

@erwincoumans erwincoumans reopened this Jul 7, 2020
@erwincoumans erwincoumans merged commit 298a9fd into bulletphysics:master Jul 7, 2020
@erwincoumans
Copy link
Member

Thanks for the contribution!

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.

None yet

2 participants