Format.cmake Versions Save

💅 Stylize your code! Automatic clang-format and cmake-format targets for CMake.

v1.8.1

4 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/TheLartians/Format.cmake/compare/v1.8.0...v1.8.1

v1.8.0

6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/TheLartians/Format.cmake/compare/v1.7.3...v1.8.0

v1.7.3

2 years ago

Fixes a bug where file mode changes were incorrectly marked as unformatted for CMake source files.

v1.7.2

2 years ago

Fixes a bug that broke Format.came when integrated as a git submodule. Thanks to @TheLongRunSmoke for the fix.

v1.7.1

3 years ago

Removes the cached variable and default setting for CMAKE_FORMAT_EXCLUDE, fixing potential issues with setting the value. Thanks to @jecassis for the fix!

v1.7.0

3 years ago
  • CMake files are now formatted by default.
  • Replaces the FORMAT_CHECK_CMAKE with the FORMAT_SKIP_CMAKE option.

v1.6

3 years ago

Paths to format can now be skipped using the CMAKE_FORMAT_EXCLUDE option. This is especially to disable formatting of third-party scripts, such as CPM.cmake. See #18 for details.

v1.5.2

3 years ago

Fixes an issue with missing target dependencies when tools are unavailable. Relevant PR: #16.

v1.5.1

3 years ago

This release uses CMake's FindPython module instead of calling python directly, which may lead to errors on certain systems. Relevant issue: #14.

v1.5

3 years ago

Format.cmake now supports formatting CMake files through cmake-format! To enable, set the configuration option FORMAT_CHECK_CMAKE.