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
Hello,
I want to build my project with newest MS VS 2022.
I use Ninja to build it.
I use myown CMakePreset.json but it lacks PATH env setup which is done for conan-debug preset. While thinking on switching to the one generated by conan I see
Custom build systems, projects, libraries, and VS Extensions checking for valid MSVC build version will need to be adjusted to allow for ‘14.4x’.
I have both v143 and 14.42.34433 in c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Redist\MSVC.
c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt contains 14.43.34808.
My conan profile for building the depedencies is the following:
I assume it should use v144, but when I look at the generated CMakePresets.json I see 144 in it.
I've read something like them being compatible but what bothers me is that if I use this preset, will it make myown code build with v144 as well? This wouldn't be the result I want to get.
Have you read the CONTRIBUTING guide?
I've read the CONTRIBUTING guide
The text was updated successfully, but these errors were encountered:
What is your question?
Hello,
I want to build my project with newest MS VS 2022.
I use Ninja to build it.
I use myown CMakePreset.json but it lacks PATH env setup which is done for
conan-debug
preset. While thinking on switching to the one generated by conan I seeThis does not seem right, as my MS VS 2022 is of Version 17.13.6. Looking at https://learn.microsoft.com/en-us/cpp/overview/compiler-versions?view=msvc-170 we see that compiler version is 1944. And as written in https://devblogs.microsoft.com/cppblog/msvc-toolset-minor-version-number-14-40-in-vs-2022-v17-10/ I assume the right and latest toolset should be v144:
I have both v143 and 14.42.34433 in c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Redist\MSVC.
c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt contains 14.43.34808.
My conan profile for building the depedencies is the following:
As I see the following line during the build of the conan packages
I assume it should use v144, but when I look at the generated CMakePresets.json I see 144 in it.
I've read something like them being compatible but what bothers me is that if I use this preset, will it make myown code build with v144 as well? This wouldn't be the result I want to get.
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: