CMake Multi-Project Template With Library, App, Tests

CMake is a powerful tool but can also be very complicated and daunting when starting out. Much of my C++ career took place in Microsoft’s Visual Studio on Windows, so I am mainly used to the IDE maintaining the build system and relying on a graphical interface to configure dependencies. I started my WorkTracker utility this way – Visual Studio in combination with the Qt plugin.

Eventually, I migrated to Qt’s build system, qmake, and after that, to CMake. This is how I managed to build WorkTracker on macOS. If I am honest, though, I took a minimalist approach and learned only as much as was necessary to get it working. I like building an application, not knowing about build tools.

As a result, the resulting build script was mostly a hodgepodge of somewhat modern and outdated CMake. My lack of more profound knowledge – which I still do not claim to have – and the convoluted CMakeLists file of WorkTracker somehow presented a mental obstacle for me to start improving it or build other C++ tools.

To remedy this situation, I started looking at the bare minimum modern CMake. I set up a template repository containing a library, an application based on that library, and a Googletest-based testing application. This should provide a good starting point for new projects and give me enough knowledge to slowly start dissecting parts out of WorkTracker and create one or more libraries from it.

Read More »

Detroit: Become Human Review – The AI Game (PS5 + PC)

Yes, this is a controversial title, and I am definitely playing the clickbait game. Yet, I also believe that it is not that far off the truth. Depending on your viewpoint, you can interpret “The AI Game” as a game generated by AI or as a game whose core idea revolves around artificial intelligence. Detroit: Become Human falls into the latter category.

Broadly speaking, our contemporary understanding of AI focuses on generating text or images, and attempts at creating music also exist. The results are truly astonishing and also frightening. Imagine the political damage a convincing AI-generated deep fake could cause. Leaving this discussion aside, Detroit: Become Human takes AI further and introduces Androids into a not-so-distant future version of Detroit. These Androids look and behave like human beings and are supposed to follow a specific programming for given tasks. Still, circumstances enable some to break free of their restrictions and start thinking and feeling like living beings. And at that point, the question becomes: are they living beings?

Read More »

Ratchet & Clank: Rift Apart – A Technical Showpiece I Recommend (PS5)

Ratchet & Clank: Rift Apart is my first Ratchet & Clank ever. I did not even know this franchise existed until I saw it being part of the early PlayStation 5 launch titles. As a Digital Foundry subscriber, I received all my information, especially what made it a technical showcase, from their excellent coverage and discussions. I was interested in the tech, but impressive visuals or other technical prowess alone do not make for a good game. The gameplay looked fun, however, and I stored that title on my maybe-if-I-ever-get-a-PS5-I-might-play-it list.

That day has come, and my recent test of Sony’s version of Game Pass afforded me a 50% discount on that title. Considering Sony still charges 80€ on their digital store, it was quite the price reduction. Amazon isn’t any better, either.

I called Kena Bridge of Spirits “essentially an interactive animated Pixar movie “. Ratchet & Clank falls even more so in this category. Kena focuses more on gameplay and combat, whereas Ratchet & Clank: Rift Apart strongly concentrates on characters, the narrative, and cinematic storytelling. If you string together all cutscenes and in-game conversations, you essentially get an entertaining, family-friendly animated movie. And all that is wrapped in a visually stunning real-time package.

Let’s get into it and look at a few nice pictures, shall we?

Read More »