Monthly Archives: September 2017

Basic steps to build your project with CMake

2017-09-20

Disclaimer: Sorry, this not a tutorial on CMake or on how to build your first CMakeLists.txt file, but basically just a short reminder for me in case I forget the syntax/steps for building my projects 😉 Directories The basic directory structure for my projects usually looks something like this: C:\Project X | ChangeLog.txt | ReadMe.md… »»»

MOC error message when building a small single file Qt program

2017-09-14

Just a reminder for myself, because I will certainly stumble over it again in the future: One of my projects was using Qt and was split into several files and subfolders, with several CMakeLists.txt files to it. In it, I made all the required CMake-Qt-Magic, so that CMake and Qt with MOC was working (too… »»»