It seems that temporary file path breaks searching of .cmake-format config.
Would be great if a new option could be introduced in cmake-format to provide original file path. This original file path should be used for searching .cmake-format config.
clang-format has similar --assume-filename option.
QtCreator IDE uses temporary file for cmake-format processing, here is a sample command line from QtCreator logs:
It seems that temporary file path breaks searching of
.cmake-format
config.Would be great if a new option could be introduced in cmake-format to provide original file path. This original file path should be used for searching
.cmake-format
config.clang-format
has similar--assume-filename
option.