How to cross-compile for embedded with CMake like a champ
The power of CMake lies in the fact, that it is both cross-platform in terms of build host and allows cross-compilation for different targets at the same time. In other…
The power of CMake lies in the fact, that it is both cross-platform in terms of build host and allows cross-compilation for different targets at the same time. In other…
Sometimes there is a need in a project to use directly some other repository (local or external). This means, that we want to be able to incorporate parts (or all)…
CMake has been created in 2000 by Bill Hoffman from Kitware. During the last 20 years, as of the time of this publication, it’s been constantly evolving by adding new features…
Topic of CMake is extremely controversial in the C/C++ community. People say that it is hard to properly set the include paths, that syntax is archaic or that managing dependencies…
In the previous article I have shown you how variadic templates can be a type-safe alternative to va_arg macros in designing the variadic functions. Today I want to show you…
In the previous article, we have seen an old C-style way of defining the variadic functions - via va_args macros. We have also learned their weaknesses: runtime cost, strict contract…
From time to time there is a need to write a function, that accepts an unspecified number of arguments. In C++ we have multiple ways of handling this depending on…
Hello hello! My name is Kuba Sejdak. I’m a C++ software engineer for over 7 years. Today I realized, that I have a need to share my C++ journey with…