Showing results for Containers - C++ Team Blog

Jul 23, 2024
0
2

Genetec uses Visual Studio, CMake, vcpkg, and Docker for remote Linux C++ development

Sinem Akinci
Sinem Akinci

Over the past couple of months, the Microsoft C++ team reached out to a series of customers voting on a suggestion ticket asking for Remote Linux Unit Testing support to understand their full set of interactions and needs with CMake and remote Linux scenarios in Visual Studio. After these discussions, we built out a backlog of work items to deliver...

C++CMakeLinux
Jan 23, 2023
3
1

Deploy and debug apps on remote targets

Marc Goodner
Marc Goodner

There are a number of ways that Visual Studio and Visual Studio Code enable you to interact with remote machines. Both can enable you to connect to a remote machine and use it as a build machine and debug your applications there. Sometimes though your target is not the same as your build machine. For example, for embedded Linux devices you will lik...

C++Containersembedded
Apr 25, 2022
0
0

Customizing GitHub Codespaces for C++ Projects

Michael Price
Michael Price

A walkthrough for creating a GitHub Codespace, customizing the Codespace development container, and configuring Visual Studio Code for developing in a C++ project such as microsoft/vcpkg-tool.

C++VcpkgVisual Studio Code
May 27, 2021
1
0

Preview of using CMake Presets for Azure Sphere development

Marc Goodner
Marc Goodner

We are happy to announce that CMake Presets preview support is available in the Visual Studio 16.10 release as well as CMake Tools version 1.7 for Visual Studio Code. Erika introduced CMake Presets and why you should use them, this post will focus on how they can be used for Azure Sphere development across Visual Studio, VS Code, and GitHub Acti...

AnnouncementCMakeContainers
Dec 18, 2019
1
0

Debugging Linux CMake Projects with gdbserver

Erika Sweet
Erika Sweet

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

Erika Sweet
Erika Sweet

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
Dec 13, 2018
0
0

Using multi-stage containers for C++ development

Marc Goodner
Marc Goodner

Updated January 10, 2020: Corrected link to article source that was broken by refactoring in the repo. Containers are a great tool for configuring reproducible build environments. It’s fairly easy to find Dockerfiles that provide various C++ environments. Unfortunately, it is hard to find guidance on how to use newer techniques like multi-stage ...

CMakeVcpkgLinux
Aug 14, 2018
0
0

C++ development with Docker containers in Visual Studio Code

Rong Lu
Rong Lu

Containers allow developers to package up an application with all the parts it needs, such as libraries and other dependencies, and ship it all out as one image. This is especially useful for C++ cross-platform development – with containers you can choose to target a platform that runs on a completely different operating system than your developer ...

Visual Studio CodeContainers
Aug 13, 2018
3
0

Using MSVC in a Docker Container for Your C++ Projects

Marc Goodner
Marc Goodner

Containers encapsulate the runtime environment of an application: the file system, environment settings, and virtualized OS are bundled into a package. Docker containers have changed the way we think about build and test environments since they were introduced five years ago. Visual Studio’s setup and install expert, Heath Stewart, blogs regularly...

Containers