Posts by this author

Dec 18, 2019
1
0

Debugging Linux CMake Projects with gdbserver

Update 2/20/20: We have addressed a bug which allows you to debug simple CMake projects using one level of CMakeLists.txt files with gdbserver in Visual Studio 2019 version 16.5 Preview 3. The example launch configuration has been updated below. Gdbserver is a program that allows you to remotely debug applications running on Linux. It is esp...

C++CMakeNew Feature
Dec 13, 2019
8
1

Build C++ Applications in a Linux Docker Container with Visual Studio

Docker containers provide a consistent development environment for building, testing, and deployment. The virtualized OS, file system, environment settings, libraries, and other dependencies are all encapsulated and shipped as one image that can be shared between developers and machines. This is especially useful for C++ cross-platform developers b...

C++CMakeLinux
Nov 21, 2019
0
0

CMake Tools Extension for Visual Studio Code

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 7, 2019
8
0

Electronic Arts and Visual Studio’s Linux Support

Electronic Arts (EA) is using Visual Studio’s cross-platform support to cross-compile on Windows and debug on Linux. The following post is written by Ben May, a Senior Software Engineer of Engineering Workflows at EA. Thanks Ben and EA for your partnership, and for helping us make Visual Studio the best IDE for C++ cross-platform development. At...

LinuxAnnouncement
Oct 15, 2019
4
0

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

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 22, 2019
1
0

Build and Debug MySQL on Linux with Visual Studio 2019

The MySQL Server Team recently shared on their blog how to use Visual Studio 2019 to edit, build, and debug MySQL on a remote Linux server. This leverages Visual Studio’s native support for CMake and allows them to use Visual Studio as a front-end while outsourcing all the “heavy lifting” (compilation, linking, running) to a remote Linux machine.  ...

C++
Aug 16, 2019
0
0

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

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 8, 2019
7
0

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

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
50
0

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

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