Skip to content

CMake / Ninja / Make build graph interrogation #147

@Notgnoshi

Description

@Notgnoshi
  • What's the object file that corresponds to a given source file?
  • What things trigger CMake reconfiguration?
  • What files get regenerated after a CMake reconfigure?
  • If I change a file, how many things will get rebuilt? What are they? Can I tell this without doing an incremental build?
  • I did an incremental build, but lots more things rebuilt than I expected - why?
  • What is the header dependency graph for each TU?
  • What tools can I used to interrogate my header dependency graph?
  • How can I find headers that aren't needed?
  • How can I detect circular header inclusion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    new contentNew content to add to the sitequestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions