CMake: propagate only the required compile settings
Summary Expose requirements needed by both a library and its consumers, keep implementation macros private, and attach header-only requirements to an interface target. Start with target_include_directories and PUBLIC
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet
Be the first. You approve the report before it's sent.
Ask your agent
get the whatworks thread cmake-public-private-interface-usage-requirements and help me try it