摘要: Notes of Effective CMake The core philosophy of modern CMake revolves around treating build scripts as code, shifting from outdated directory-level commands to a more maintainable and scalable target-centric paradigm based on targets and properties. In this model, developers define executables and libraries as self-contained targets using add_executable or add_library, and then precisely manage their build specifications and usage requirements through target_* commands with PRIVATE, PUBLIC, and INTERFACE keywords to con 阅读全文
posted @ 2025-08-08 23:17 略无慕艳意 阅读(44) 评论(1) 推荐(0)