Building a Cross-Platform C++ GUI App with CMake, Raylib, and Dear ImGui
I want to build cross-platform GUI apps in C++, and I’ve heard that Dear ImGui is awesome. So today, I’m […]
I want to build cross-platform GUI apps in C++, and I’ve heard that Dear ImGui is awesome. So today, I’m […]
Last week I was using my own CMake book for a new project. Yes, I refer back to my own
Six months. Countless builds. And me, stuck in a loop-doing the same thing over and over with different buils systems—so you don’t have to. Let’s figure out which C++ build system is really worth your time. I put the most popular build systems to the test—CMake, Make, Meson, Bazel, and more. Some were great, and […]
Is Bazel a good alternative to CMake, or any of the other C/C++ build systems? My answer so far has been “don’t know because I’ve never tried Bazel.” Today, I’m going to change that, and put Bazel head-to-head against CMake.Here’s how it works: I’ve got two small projects, and I’m going to build them using […]
I’m going to show you 4 different ways to convert between big-endian, little endian, and vice versa, starting with the slowest because it’s also the easiest to understand. I’m also going to reveal a gotcha that can really trip you up. And, I’ll show you the best-practise for making endianness handling code work on all […]
Yes, it’s finally done! The CMake Tutorial has taken me ages to complete, and a crazy amount of research. Now it’s finished, the “pre-release” label is gone, and its ready make you a CMake master starting now.What’s in The CMake Tutorial?So what’s in the tutorial? Everything you need to learn in order to go from […]
How well do you know the C programming language? Test yourself with the short quiz above. The video includes explanations for the answers, so you might just learn something too…Let us know how you did in the comments. Feedback about the quiz is welcome too.
CMake, or Visual Studio projects? Which is easier? Which is better? Which should you use? Lets answer those questions by building some actual codeHere’s what I’m going to do: I’ll build the same code using both build systems And, I’ll try to get both build systems to do roughly the same thing, within reasonable limits […]
Which build system should you use: CMake? Or Ninja? That’s actually a rather weird question, but it’s a question that gets asked all the same. So let’s answer it…For a full answer, watch the video. In brief: Ninja is designed with one goal in mind: speed. To achieve maximum build speed, they’ve traded scriptability for speed. […]
The second to last chapter of The CMake Tutorial is done! It’s now 93% complete, and I have to say that it’s much bigger and more comprehensive than I originally planned (179 pages of sharp, no-fluff content).That’s because I wanted to cover everything a developer would need to go from zero CMake knowledge to being […]