Skip to content

Checked build builds libraries with MT runtime, even though NV_USE_DEBUG_WINCRT is set to True in CMake preset #78

Answered by ayoub-belarbi
thfProjects asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @thfProjects,

So "MTd" specify the runtime library that is used when building in Debug mode. That's what the "d" stands for.
What you did to set the MTd runtime is actually correct, however, again, it's used only for Debug mode and you can see that clearly in https://github.com/NVIDIA-Omniverse/PhysX/blob/release/104.1/physx/source/compiler/cmake/windows/CMakeLists.txt#L48.

The MTd runtime library includes additional functionalities that can help with debugging (extra error checking and runtime assertions) but will significantly increase the size and performance, which make sense for debug and not for release. In your case, wouldn't be possible to build your application using MT in …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@thfProjects
Comment options

Answer selected by thfProjects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants