Transitioning from using VS + MSBuild to VSCode + CMake?

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Google Test

    GoogleTest - Google Testing and Mocking Framework

  • cmake-init

    The missing CMake project initializer

  • For general CMake goodies, you might want to check cmake-init out. It shows you how to structure a project that makes it trivial to consume using the CMake Tools extension via presets. There are other things in the wiki as well.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • CPM.cmake

    📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.

  • Fwiw CPM is better than fetch content. It's what I use in all of my personal projects.

  • llvm-project

    The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

  • I use CMake and VSCode on my open source projects. For VSCode extensions I usually start by installing the "codecpp-full" extension which is like a meta extension (it installs the CMake, CMake Tools, CMake Tools Helper, C/C++, C/C++ Clang Command Adapter, Clang Format, Git Lens and Include Autocomplete extensions)... Then I usually download clang from here (https://github.com/llvm/llvm-project/releases/tag/llvmorg-13.0.0) and put the binary in my path... Lately, I swear by install GitHub CoPilot.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts