Architecture of CLion’s CMake‑based Project Model: Requirements, Minimal Design, and Trust Boundaries
CLion treats CMakeLists.txt as the single source of truth, automatically deriving targets, watching files for incremental rebuilds, and indexing symbols. This note covers requirements, design, trust boundaries, checks, failure modes, and conditions that would change the design.