Skip to content

cmListFileBacktrace: Simplify by refactoring excess functionality

Brad King requested to merge brad.king/cmake:simplify-backtrace into master

Due to the way cmListFileBacktrace evolved over time, it was left playing three roles:

  1. Representing a backtrace of the call stack.
  2. Formatting the call stack to print in messages.
  3. Providing information about the directory at the bottom of the call stack.

Refactor clients relying on 2 and 3, and remove them. This simplifies the interface of cmListFileBacktrace, and removes some restrictions from its usage.

Merge request reports