cmake_format
cmake_format copied to clipboard
[cmake-format] Issue with arguments that affect formatting
If we call cmake-format like that:
cmake-format file1.cmake file2.cmake -i --line-width=120 --tab-size=4
line-width and tab-size will be only applied to file1.cmake. file2.cmake will be formatted with default config
BTW cmake-format file1.cmake file2.cmake -i -c=.cmake-config
work without this issue
It only happens when you pass several files to cmake-format