Skip to content
No results
  • All C++ Articles
  • About me
  • From Complexity to Essence in C++
  • No More Helloworlds — Build a Real C++ App
  • Practical C++ Guides
C++ tips and tricks
  • All C++ Articles
  • About me
  • From Complexity to Essence in C++
  • No More Helloworlds — Build a Real C++ App
  • Practical C++ Guides
C++ tips and tricks
  • CMake & Build Systems

Top 5 CMake Mistakes That Make Your Configuration Fragile

A practical look at common CMake mistakes that make build configuration fragile: overloaded CMakeLists.txt files, manual compiler flags, ignored CTest infrastructure, unnecessary custom logic, and global commands that break target boundaries.

  • Nikolai
  • April 26, 2026
  • CMake & Build Systems

Cross-compilation for Windows. Why not?

Build Windows binaries from Linux without maintaining a full Windows build environment. MXE + Docker setup, toolchain builds, and shipping DLL dependencies.

  • Nikolai
  • August 21, 2025
  • CMake & Build Systems

Precompiled headers in CMake? Easy peasy, lemon squeezy

Precompiled headers are a powerful way to reduce compilation time in C++ projects. The best part is that modern CMake supports them out of the box. In this article, I’ll show you how to set up your CMake project to take advantage of precompiled headers.

  • Nikolai
  • August 17, 2025
  • CMake & Build Systems

How Header Dependencies Kill C++ Build Times (and How to Fix It)

Practical techniques: forward declarations, moving implementations to cpp, and PIMPL — explained with real examples.

One major factor that can slow down compilation is headers. When they are too heavy or included in every translation unit, they can significantly increase compilation time.

  • Nikolai
  • August 17, 2025
  • CMake & Build Systems

How to Find and Fix C++ Compile-Time Bottlenecks (with Real Tools)

If your C++ project takes minutes to compile, guessing won’t help.
Learn how to measure real compile-time costs, analyze JSON reports, and find the most expensive headers and templates using the right tools.

  • Nikolai
  • August 16, 2025
Copyright © 2026 - WordPress Theme by CreativeThemes