I have problems with check-format target failing, even though fix-format is not making any changes.
I have a file in a subdir where cmake-format should be disabled. Therefore I have places a file called ".cmake-format" containing:
disable: true
This is disables the fix-format actions. But check-format is still failing with this error:
CMake Error at cmake/modules/Format.cmake/cmake-format.cmake:58 (message):
cmake/modules/CodeCoverage.cmake needs to be reformatted
CodeCoverage.cmake is the file that I want to have ignored.
I have problems with check-format target failing, even though fix-format is not making any changes.
I have a file in a subdir where cmake-format should be disabled. Therefore I have places a file called ".cmake-format" containing:
disable: trueThis is disables the fix-format actions. But check-format is still failing with this error:
CMake Error at cmake/modules/Format.cmake/cmake-format.cmake:58 (message):
cmake/modules/CodeCoverage.cmake needs to be reformatted
CodeCoverage.cmake is the file that I want to have ignored.