cmake_format
cmake_format copied to clipboard
Indent param lists
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:
- Nothing on the same line as the command
- No keyword + argument on the same line for lists (single-argument keywords on the same line)
- extra indentation for lists, but not for positional arguments
Has there been any communication on this? This would be a great feature to have.