Skip to content

message(): Control indentation via `CMAKE_MESSAGE_INDENT`

Alex Turbov requested to merge zaufi/cmake:feature/message-indent into master

Having a list of strings instead of a numeric variable has the following advantages:

  • no need to do math() which is error-prone and hard(er) to read
  • easy to APPEND/POP_BACK for unscoped contexts (out of any function)
  • make it possible to have custom paddings -- i.e. w/ different lengths or having non-space strings (like *)
Edited by Alex Turbov

Merge request reports