cheshirekow / cmake_format

Source code formatter for cmake listfiles.
GNU General Public License v3.0
941 stars 103 forks source link

Indent param lists #313

Open nitnelave opened 1 year ago

nitnelave commented 1 year ago

The indentation pattern that I use in my project goes like this:

add_library(
  lib_name
  STATIC
  DEPENDS
    dependency1
    dependency2
  EXCLUDE_FROM_ALL
)

Is there a way to achieve that with cmake_format? I couldn't find out how.

Notably:

AhiyaHiya commented 1 year ago

Has there been any communication on this? This would be a great feature to have.