C++ Team Blog

The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team

CMake Support in Visual Studio – Configuration Templates

Visual Studio 2017 15.8 Preview 3 is now available and it includes several improvements to the CMake tools. In addition to a few fixes we have simplified the way you can configure your CMakeSettings.json file by adding configuration templates. If you are new to CMake in Visual Studio, check out how to get started. Configuration Templates for ...

CMake Support in Visual Studio – Code Analysis and CMake 3.11

Visual Studio 2017 15.7 Preview 4 is now available and we have added a few more CMake features in addition to the Targets View and single file compilation added in Preview 3.  We keep the version of CMake that ships with Visual Studio as fresh as possible, so we have updated it to version 3.11.  We are also excited to announce that CMake ...

CMake Support in Visual Studio – Targets View, Single File Compilation, and Cache Generation Settings

Visual Studio 2017 15.7 Preview 3 is now available, which includes several improvements to the CMake tools.  The latest preview offers more control than ever over how to visualize, build, and manage your CMake projects. Please download the preview and check out the latest CMake features such as the Targets View, single file compilation, and ...

CMake Support in Visual Studio – Test Explorer Integration, CMake 3.10

点这里看中文版 We are excited to announce new CMake features in Visual Studio 2017 version 15.6 Preview 2.  In the latest preview, we have improved CTest’s integration with the IDE, including rich support for the Google and Boost unit testing frameworks. If you are new to CMake in Visual Studio, check out how to get started. CTest...

IntelliSense Enhancements for C++ Open Folder and CMake

Today’s preview of Visual Studio 2017 version 15.6 Preview 2 includes two IntelliSense improvements to streamline code editing for C++ Open Folder and CMake. We added a new type of IntelliSense squiggle to C++ Open Folder and CMake to streamline cross-platform development.  We also now support a new heuristic and wildcard syntax to the ...

CMake Support in Visual Studio – Import Your CMake Cache

点这里看中文版 Configuring a CMake project to build in just the way you want can often be a time intensive process, so in Visual Studio 2017 15.5 preview we have made it easier than ever to import your existing CMake projects and cache configurations into the IDE.  You can now import an existing CMakeCache.txt file and Visual Studio ...

CMake support in Visual Studio – CMake 3.9, Linux targeting, feedback

点这里看中文版 Visual Studio 2017 15.4 Preview 2 is now available and includes enhancements to Visual Studio’s CMake tools.  The latest preview upgrades CMake to version 3.9, includes better support for independent CMakeLists, and supports targeting Linux directly. Please check out the preview and try out the latest CMake features...

CMake Support in Visual Studio: Customizing your Environment

In Visual Studio 15.3, there are new ways for you to apply advanced configuration to your CMake environments. Please download the latest and try out the latest CMake features.  If you are just getting started with CMake, follow the link to learn more about CMake support in Visual Studio.  We are looking forward to your feedback. What...

Using MinGW and Cygwin with Visual C++ and Open Folder

Building cross-platform C and C++ code is easier than ever with Visual Studio 15.3 Preview 4.  The latest preview improves support for alternative compilers and build environments such as MinGW and Cygwin.  MinGW (Minimalist GNU for Windows), in case you are not familiar with it, is a compiler in the GCC family designed to run natively on ...

CMake support in Visual Studio – what’s new in 2017 15.3 Preview 2

We're excited to announce improved CMake and Ninja support in Visual Studio 15.3 Preview 2.  In this preview, we have updated CMake from version 3.7.2 to version 3.8 and added improved support for the CMake Ninja generator.  Additionally, this preview includes several fixes for community reported bugs. Please download the preview and try ...