CMake 🏷️
Building Qt 6 on Windows with Visual Studio (2021-05-09)
Time for another short guidance on how to build your own copy of the Qt framework from source.
Building Qt for static linking (2015-03-31)
One of the drawbacks of using such a comprehensive framework as Qt is the massively increased size of you program.
When my pet project RandFill was only using the plain Win32-API, it was a single executable file of a couple of hundred kilobytes.
Now, using dynamically linked Qt, the whole package (with DLLs, MSVC redistributables, etc.) is bigger than 20 megabytes as a 64-bit build!
CMake, Visual Studio and Qt 5 with MOC... (2014-06-15)
After building a 64-bit version of Qt with/for Microsoft Visual Studio,
building a simple Qt test program and doing
first steps with the CMake build system, the next hurdle appeared
on the horizon in the form of support for Qt and its Q_OBJECT features (I am currently fighting more
with the changes I made to my build environment than improving the actual program code…).
Describes a few tips on how to generate a 64-bit project for Visual Studio with CMake.
How to use CMake (2025-05-30)
This is just a reminder for some syntax/parameter details on how to invoke CMake (i.e. the actual cmake program),
mainly from the CLI, to configure/generate/build a project – it’s not a tutorial on how to write a
CMakeLists.txt
file!This is a brief post on how to use CMake to setup a Visual Studio 2019 solution on Windows
that will use the LLVM Clang compiler instead of the orginal Visual C++ one.
Journal #3 (2014-06-15)
Konnichiwa, time for another status report.
On CMake (2014-05-04)
I’ve changed the build process of the RandFill project recently
from using the Visual Studio files (*.sln, *.vcxproj, etc.) to maintaining and generating those with CMake.
Prepare a CMake project for find_package() (2021-03-24)
Although I’ve already published an article on how to bring an external CMake project into your own CMake project,
I recently realized that I haven’t written about how one can prepare a CMake project for the use with
find_package()
— despite the fact
that I’ve used it already for quite a while in RandFill for my own WPDLib(rary); so let me make up leeway for that oversight with this post.
Using CMake with External Projects (2019-08-03)
The reason for this post is that I spent a considerable amount of time1 the last two days to
convince CMake’s External Project feature to do what I wanted. And without the help of the usual
suspects (Stackoverflow, old mails, blog articles, code snippets, etc.), I might still not be done.
So I thought I could pay back the general public by posting some notes on this topic 😉