You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MSBuildToolchain doesn't seem to honor compiler.runtime_type from profile, and instead completely relies on build_type to determine RuntimeLibrary to inject in props file.
So for example if someone has a profile like this:
props file will contain <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>, while conan user would expect <RuntimeLibrary>MultiThreaded</RuntimeLibrary>.
CMakeToolchain for exemple behaves as expected, so it leads to inconsistency across different packages built with this profile.
Describe the bug
MSBuildToolchain
doesn't seem to honor compiler.runtime_type from profile, and instead completely relies on build_type to determine RuntimeLibrary to inject in props file.So for example if someone has a profile like this:
props file will contain
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
, while conan user would expect<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
.CMakeToolchain for exemple behaves as expected, so it leads to inconsistency across different packages built with this profile.
How to reproduce it
Issue has been described in conan-io/conan-center-index#25433 with all details.
The text was updated successfully, but these errors were encountered: