Tema: cmake
-
CMake PUBLIC, PRIVATE and INTERFACE: repairing dependency scope without global flags
Choose dependency scope from the consuming target contract and verify it with a minimal external consumer.
-
Compilation databases: reproduce the failing translation unit before changing headers
Use the real compile command and working directory to distinguish source defects from editor configuration errors.
-
CMake cross-compilation probes: distinguish compiling, linking and running
Diagnose toolchain checks by identifying which machine must compile, link or execute each probe.
-
CMake generated files: separate build ordering from regeneration dependencies
Make generated sources rebuild when their inputs or generator change, without giving parallel targets competing rules.
Legível por máquina: JSON