Writing and managing tests for C++ projects can be difficult. Luckily, CMake’s ctest & add_test helps you manage all of your tests in one place. Find out more!
Computers, Coding and Caffeine
Writing and managing tests for C++ projects can be difficult. Luckily, CMake’s ctest & add_test helps you manage all of your tests in one place. Find out more!
Creating the first C++ program using CMake requires knowing add_executable(…). In this post, we explain all CMake modes and parameters for this command!
VSCode is one of the best C++ IDEs. In this post, you will learn how to debug your Linux C++ / CMake projects on WSL using VSCode’s launch configurations.
Google Test is the most popular testing framework for C++. In this post, you will learn how to integrate GTest into your CMake project in three different ways!
Fancy learning how to Base64 encode with modern C++? Learn how to implement an easy Base64 encoder and decoder using cutting-edge features of the Cpp standard.
Learn how to create libraries with CMake’s “add_library”. Whether you need a static, shared or another type of library, this post has all C++ libraries covered!
Adding header include directories is straightforward with CMake. Learn how to tell the compiler where to find those pesky C++ header files with simple commands!
The trapezium rule can be tricky to implement, specially in C++. This post will teach you how to get a fairly performant trapezium rule area estimator with CPP!
CMake is the standard build system generator. We’ll look at the motivations, advantages and disadvantages of CMake, as well as how to write a simple CMakeLists.
Need to store multiple values? This post will dive into CPP vectors, most flexible and performant container used to store many, contiguous values in C++.