

When you open a folder containing a CMakeLists.txt file, the following things happen. Both C++ CMake tools for Windows and Linux Development with C++ are required for cross-platform CMake development.įor more information, see Install the C++ Linux workload in Visual Studio. InstallationĬ++ CMake tools for Windows is installed as part of the Desktop development with C++ and Linux Development with C++ workloads. cmake.exe is invoked directly by Visual Studio for CMake configuration and build.

CMake project files (such as CMakeLists.txt) are consumed directly by Visual Studio for the purposes of IntelliSense and browsing. Visual Studio's native support for CMake enables you to edit, build, and debug CMake projects on Windows, the Windows Subsystem for Linux (WSL), and remote systems from the same instance of Visual Studio.
