Showing category results for CMake

Nov 21, 2019
Post comments count0
Post likes count0

CMake Tools Extension for Visual Studio Code

Erika Sweet

Microsoft is now the primary maintainer of the CMake Tools extension for Visual Studio Code. The extension was created and previously maintained by vector-of-bool, who has moved on to other things. Thank you vector-of-bool for all of your hard work getting this extension to where it is today! About the extension The CMake Tools extension provides...

C++AnnouncementCMake
Nov 18, 2019
Post comments count2
Post likes count0

Set Environment Variables for Debug, Launch, and Tools with CMake and Open Folder

Will Buik

There are many reasons why you may want to customize environment variables. Many build systems use environment variables to drive behavior; debug targets sometimes need to have PATH customized to ensure their dependencies are found; etc. Visual Studio has a mechanism to customize environment variables for debugging and building CMake projects and C...

CMakeOpenFolder
Oct 15, 2019
Post comments count4
Post likes count0

Usability Improvements for CMake in Visual Studio 2019 version 16.4: Launch Target Selection and Overview Pages

Erika Sweet

We hear your feedback, and in Visual Studio 2019 version 16.4 Preview 2 we have addressed one of our top Developer Community issues related to CMake development in Visual Studio by revamping the selection of CMake launch targets. We have also added Overview Pages for CMake to help you get started with CMake and cross-platform development. If you’re...

AnnouncementCMakeNew Feature
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

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...

AnnouncementVcpkgCMake
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

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

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

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

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

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

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