Showing results for CMake - C++ Team Blog

May 16, 2024
Post comments count0
Post likes count0

C++ at VS Code Day 2024

Alexandra Kemper
Alexandra Kemper

Looking to get caught up on new C++ features released in the last year? Check out the new YouTube video What’s New with C++ in VS Code posted for VS Code Day 2024. VS Code Day is an annual event hosted by the VS Code team which lets you elevate your development workflow with the latest and greatest features from Visual Studio Code. Sessions ranged ...

C++Visual Studio Code
May 9, 2024
Post comments count0
Post likes count2

Building your C++ Code with CMake in VS Code

Alexandra Kemper
Alexandra Kemper

Build systems can help you manage your C++ project as it grows in scope and complexity, whether you are adding new features, dependencies, or cross-platform support. A popular choice in the C++ community is CMake which supports cross-platform development, streamlines build processes and configurations, and has many levels of customization. It also ...

C++CMakeVisual Studio Code
Feb 6, 2020
Post comments count9
Post likes count1

Easily Add, Remove, and Rename Files and Targets in CMake Projects

Will Buik
Will Buik

It’s easier than ever to work with CMake projects in Visual Studio 2019 16.5 Preview 2. Now you can add, remove, and rename source files and targets in your CMake projects from the IDE without manually editing your CMake scripts. When you add or remove files with the Solution Explorer, Visual Studio will automatically edit your CMake project. You c...

CMakeC++
Feb 6, 2020
Post comments count1
Post likes count1

Code Navigation for CMake Scripts

Will Buik
Will Buik

Visual Studio 2019 16.5 Preview 2 makes it easy to make sense of complex CMake projects. Code navigation features such as Go To Definition and Find All References are now supported for variables, functions, and targets in CMake script files. This can be a huge timesaver because CMake projects with more than a handful of source files are often organ...

CMakeC++
Nov 18, 2019
Post comments count2
Post likes count0

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

Will Buik
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
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
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
Jun 27, 2018
Post comments count0
Post likes count0

CMake Support in Visual Studio – Configuration Templates

Will Buik
Will Buik

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

CMake
May 2, 2018
Post comments count0
Post likes count0

CMake Support in Visual Studio – Code Analysis and CMake 3.11

Will Buik
Will Buik

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

CMake