Opening Existing CMake Caches in Visual Studio is not supported a

Mohammad Mohsin Siddiqui 175 Reputation points
2024-07-02T09:37:40.2833333+00:00

We have a requirement in our project that we want to generate cmake cache outside Visual Studio and want to use same generated cache in Visual Studio for build. The idea is that when we open a generated cache, VS will not try to generate cache rather it will use al ready generated cache. We found one article exactly for this same purpose.

https://devblogs.microsoft.com/cppblog/open-existing-cmake-caches-in-visual-studio/

But it seems this is not working. When I tried to open I got below error.

am I doing anything wrong?

Regards,

Mohsin Siddiqui

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
{count} votes