Showing results for CMake - C++ Team Blog

Aug 16, 2019
Post comments count0
Post likes count0

C++ Cross-Platform Development with Visual Studio 2019 version 16.3: vcpkg, CMake configuration, remote headers, and WSL

Erika Sweet
Erika Sweet

In Visual Studio 2019 you can target both Windows and Linux from the comfort of a single IDE. Visual Studio’s native support for CMake lets you open any folder containing C++ code and a CMakeLists.txt file directly in Visual Studio to edit, build, and debug your CMake project on Windows, Linux, and the Windows Subsystem for Linux (WSL). Visual Stud...

AnnouncementCMakeVcpkg
May 10, 2019
Post comments count22
Post likes count0

Linux Development with C++ in Visual Studio 2019: WSL, ASan for Linux, Separation of Build and Debug

Erika Sweet
Erika Sweet

In Visual Studio 2019 you can target both Windows and Linux from the comfort of a single IDE. In Visual Studio 2019 version 16.1 Preview 3 we announced several new features specific to the Linux Workload: native support for the Windows Subsystem for Linux (WSL), AddressSanitizer integration, and the ability to separate build and debug targets. If y...

AnnouncementC++CMake
May 8, 2019
Post comments count7
Post likes count0

AddressSanitizer (ASan) for the Linux Workload in Visual Studio 2019

Erika Sweet
Erika Sweet

In Visual Studio 2019 version 16.1 Preview 3 we have integrated AddressSanitizer (ASan) into Visual Studio for Linux projects. ASan is a runtime memory error detector for C/C++ that catches the following errors: You can enable ASan for MSBuild-based Linux projects and CMake projects that target a remote Linux system or ...

AnnouncementCMakeNew Feature
May 6, 2019
Post comments count50
Post likes count0

C++ with Visual Studio 2019 and Windows Subsystem for Linux (WSL)

Erika Sweet
Erika Sweet

This post was updated on December 11, 2020 Visual Studio 2019 version 16.1 added native support for using C++ with the Windows Subsystem for Linux (WSL). WSL lets you run a lightweight Linux environment directly on Windows, including most command-line tools, utilities, and applications. In Visual Studio you no longer need to add a remote connect...

AnnouncementCMakeLinux
Apr 24, 2019
Post comments count27
Post likes count0

Clang/LLVM Support in Visual Studio

Will Buik
Will Buik

Visual Studio 2019 version 16.1 Preview 2 comes with support for Clang/LLVM out-of-the-box. Visual Studio has had great tooling for MSVC and GCC for quite a while now. The latest preview brings Clang into the fold. Visual Studio 2019 includes out of the box support for editing, building, and debugging CMake projects with Clang/LLVM. If you use M...

ClangCMakeOpenFolder
Apr 24, 2019
Post comments count4
Post likes count0

Visual Studio CMake Support – Clang/LLVM, CMake 3.14, Vcpkg, and Performance Improvements

Will Buik
Will Buik

We’ve introduced a bunch of improvements to our CMake support in the latest preview of Visual Studio 2019 Update 1. The latest release includes Clang/LLVM support, CMake 3.14, better vcpkg integration, and many more enhancements. If you are not familiar with Visual Studio’s CMake support, check out how to get started.

CMakeVcpkgLinux
Apr 15, 2019
Post comments count3
Post likes count0

In-Editor Documentation for CMake in Visual Studio

Erika Sweet
Erika Sweet

Visual Studio 2019 version 16.1 Preview 1 introduces in-editor documentation for CMake commands, variables, and properties. You can now leverage IntelliSense autocompletion and quick info tooltips when editing a CMakeLists.txt file, which will save you time spent outside of the IDE referencing documentation and make the process less error-prone. If...

AnnouncementCMakeNew Feature
Feb 27, 2019
Post comments count1
Post likes count0

Open Existing CMake Caches in Visual Studio

Will Buik
Will Buik

Visual Studio typically manages all the details of CMake for you, under the hood, when you open a project. However, some development workflows require more fine-grained control over how CMake is invoked. The latest Visual Studio 2019 Preview lets you have complete control over CMake if your project needs more flexibility. You can now give your cust...

CMakeAnnouncement
Feb 1, 2019
Post comments count2
Post likes count0

What’s New in CMake – Visual Studio 2019 Preview 2

Will Buik
Will Buik

We have made a bunch of improvements to Visual Studio’s CMake support in the latest preview of the IDE. Many of these changes are taking the first steps to close the gap between working with solutions generated by CMake and the IDE’s native support. Please try out the preview and let us know what you think. If you are new to CMake in Visual Stud...

C++AnnouncementCMake
Jan 24, 2019
Post comments count0
Post likes count0

Introducing the New CMake Project Settings UI

Erika Sweet
Erika Sweet

Visual Studio 2019 Preview 2 introduces a new CMake Project Settings Editor to help you more easily configure your CMake projects in Visual Studio. The editor provides an alternative to modifying the CMakeSettings.json file directly and allows you to create and manage your CMake configurations. If you’re just getting started with CMake in Visual...

AnnouncementCMakeNew Feature