Menu

C++ Engineering Weekly, October 26 - November 1
📰

C++ Engineering Weekly, October 26 - November 1

DEV Community: cpp·Yurii Cherkasov·13 days ago
#gljrloaY
#devtocpp#devto#dev#test#build
Reading 0:00
15s threshold

CMake gets this week's attention.

CMake 4.5 RC2 arrived on October 28. These are features of the upcoming 4.5 release, not all additions made specifically in RC2. Three deserve a test drive:

Run tests whose dependencies changed. CTest gains --out-of-date , using recorded build dependencies to select tests. Promising for shortening the edit -> build -> test loop. My caveat: incomplete dependency information deserves suspicion. Keep full-suite CI while evaluating selective runs.

External projects get a more sensible installation destination. Under policy CMP0225, ExternalProject's default configure command sets CMAKE_INSTALL_PREFIX to its reserved INSTALL_DIR ; an explicitly supplied prefix still wins. Audit superbuilds that relied on the previous default. "Where did that library install?" is a debugging genre we could retire.

import std gets broader build-system support. The 4.5 notes extend it to C++20-and-later code with module scanning enabled.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.