[GRASS-git] [OSGeo/grass] d6c75a: Checks: Add Gersemi to format cmake files in pre-c...
Edouard Choinière
noreply at github.com
Fri Jul 17 00:15:12 PDT 2026
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: d6c75ad8e5e4c89cf400818669bbdaf263571ccd
https://github.com/OSGeo/grass/commit/d6c75ad8e5e4c89cf400818669bbdaf263571ccd
Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
Date: 2026-07-17 (Fri, 17 Jul 2026)
Changed paths:
M .editorconfig
M .pre-commit-config.yaml
M CMakeLists.txt
M GRASSConfig.cmake.in
M cmake/ctypesgen.cmake
M cmake/find_scripts/CMakeLists.txt
M cmake/find_scripts/FindCBLAS.cmake
M cmake/find_scripts/FindCairo.cmake
M cmake/find_scripts/FindFFTW-egpbos.cmake
M cmake/find_scripts/FindFFTW-eigen.cmake
M cmake/find_scripts/FindFFTW.cmake
M cmake/find_scripts/FindGEOS.cmake
M cmake/find_scripts/FindLAPACKE.cmake
M cmake/find_scripts/FindLibLAS.cmake
M cmake/find_scripts/FindLibSVM.cmake
M cmake/find_scripts/FindMySQL.cmake
M cmake/find_scripts/FindNetCDF.cmake
M cmake/find_scripts/FindPCRE.cmake
M cmake/find_scripts/FindPROJ.cmake
M cmake/find_scripts/FindReadline.cmake
M cmake/find_scripts/Findzstd.cmake
M cmake/locale_strings.cmake
M cmake/modules/CMakeLists.txt
M cmake/modules/CheckDependentLibraries.cmake
M cmake/modules/Configure.cmake
M cmake/modules/DevelUtils.cmake
M cmake/modules/GRASSInstallDirs.cmake
M cmake/modules/build_addon.cmake
M cmake/modules/build_gui_in_subdir.cmake
M cmake/modules/build_library_in_subdir.cmake
M cmake/modules/build_module.cmake
M cmake/modules/build_program.cmake
M cmake/modules/build_program_in_subdir.cmake
M cmake/modules/build_script_in_subdir.cmake
M cmake/modules/check_target.cmake
M cmake/modules/copy_python_files_in_subdir.cmake
M cmake/modules/generate_docs.cmake
M cmake/modules/get_host_arch.cmake
M cmake/modules/get_versions.cmake
M cmake/modules/linker.cmake
M cmake/modules/repo_status.cmake
M cmake/modules/set_compiler_flags.cmake
A cmake/stubs/build_library_in_subdir_stub.cmake
A cmake/stubs/build_program_in_subdir_stub.cmake
A cmake/stubs/build_program_stub.cmake
M db/CMakeLists.txt
M db/drivers/CMakeLists.txt
M demolocation/CMakeLists.txt
M display/CMakeLists.txt
M doc/CMakeLists.txt
M doc/development/CMakeLists.txt
M general/CMakeLists.txt
M general/manage/lister/CMakeLists.txt
M gui/CMakeLists.txt
M gui/icons/CMakeLists.txt
M gui/images/CMakeLists.txt
M gui/scripts/CMakeLists.txt
M gui/wxpython/CMakeLists.txt
M gui/wxpython/docs/CMakeLists.txt
M imagery/CMakeLists.txt
M imagery/i.ortho.photo/CMakeLists.txt
M include/CMakeLists.txt
M lib/CMakeLists.txt
M lib/db/CMakeLists.txt
M lib/db/sqlp/CMakeLists.txt
M lib/fonts/CMakeLists.txt
M lib/gis/CMakeLists.txt
M lib/init/CMakeLists.txt
M lib/proj/CMakeLists.txt
M lib/rst/CMakeLists.txt
M lib/temporal/CMakeLists.txt
M lib/vector/CMakeLists.txt
M lib/vector/dglib/CMakeLists.txt
M lib/vector/diglib/CMakeLists.txt
M locale/CMakeLists.txt
M man/CMakeLists.txt
M misc/CMakeLists.txt
M ps/CMakeLists.txt
M python/grass/CMakeLists.txt
R python/grass/pygrass/CMakeLists.txt
M python/libgrass_interface_generator/CMakeLists.txt
M raster/CMakeLists.txt
M raster/r.colors.out/CMakeLists.txt
M raster/r.colors/CMakeLists.txt
M raster/r.li/CMakeLists.txt
M raster/r.mapcalc/CMakeLists.txt
M raster/r.sim/CMakeLists.txt
M raster/r.spread/CMakeLists.txt
M raster/r.univar/CMakeLists.txt
M raster/r.watershed/CMakeLists.txt
M raster3d/CMakeLists.txt
M raster3d/r3.flow/CMakeLists.txt
M scripts/CMakeLists.txt
M scripts/g.extension/testsuite/data/sample_modules/r.plus.example/CMakeLists.txt
M temporal/CMakeLists.txt
M utils/CMakeLists.txt
M vector/CMakeLists.txt
M vector/v.lrs/CMakeLists.txt
Log Message:
-----------
Checks: Add Gersemi to format cmake files in pre-commit (#7696)
* Checks: Add Gersemi to format cmake files in pre-commit
* CMake: Remove file python/grass/pygrass/CMakeLists.txt as unused per issue https://github.com/OSGeo/grass/issues/7686
[Bug] Where are CMake functions `build_pymodule_in_subdir` and `copy_python_file` defined?
Fixes #7686
* Define indentation for cmake files in .editorconfig to match gersemi's defaults
* checks: Create cmake stubs containing definitions for gersemi-unrecognized functions or macros
* cmake: Ignore one duplicated `_test_package` definition in FindLAPACKE.cmake/FindCBLAS.cmake
* cmake: Add more gersemi hints to indicate how to treat specific multi-value arguments
* cmake: Format all cmake files
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list