[GRASS-git] [OSGeo/grass] c12df2: cmake: initial commit adding CMake support

Huidae Cho noreply at github.com
Sat Feb 22 11:35:42 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: c12df298352da495dc6b4983ffc3ca160906490b
      https://github.com/OSGeo/grass/commit/c12df298352da495dc6b4983ffc3ca160906490b
  Author: Huidae Cho <grass4u at gmail.com>
  Date:   2025-02-22 (Sat, 22 Feb 2025)

  Changed paths:
    A .github/workflows/cmake.yml
    A CMakeLists.txt
    A cmake/ctypesgen.cmake
    A cmake/find_scripts/FindBLAS.cmake
    A cmake/find_scripts/FindCairo.cmake
    A cmake/find_scripts/FindFFTW-egpbos.cmake
    A cmake/find_scripts/FindFFTW-eigen.cmake
    A cmake/find_scripts/FindFFTW.cmake
    A cmake/find_scripts/FindFontConfig.cmake
    A cmake/find_scripts/FindGDAL.cmake
    A cmake/find_scripts/FindGEOS.cmake
    A cmake/find_scripts/FindIconv.cmake
    A cmake/find_scripts/FindLAPACK.cmake
    A cmake/find_scripts/FindLibLAS.cmake
    A cmake/find_scripts/FindMySQL.cmake
    A cmake/find_scripts/FindNetCDF.cmake
    A cmake/find_scripts/FindPCRE.cmake
    A cmake/find_scripts/FindPROJ.cmake
    A cmake/find_scripts/FindPostgreSQL.cmake
    A cmake/find_scripts/FindReadline.cmake
    A cmake/find_scripts/FindSQLite.cmake
    A cmake/find_scripts/Findzstd.cmake
    A cmake/generate_man_pages.cmake
    A cmake/locale_strings.cmake
    A cmake/modules/CheckDependentLibraries.cmake
    A cmake/modules/Configure.cmake
    A cmake/modules/DevelUtils.cmake
    A cmake/modules/GRASSInstallDirs.cmake
    A cmake/modules/build_gui_in_subdir.cmake
    A cmake/modules/build_library_in_subdir.cmake
    A cmake/modules/build_module.cmake
    A cmake/modules/build_program.cmake
    A cmake/modules/build_program_in_subdir.cmake
    A cmake/modules/build_script_in_subdir.cmake
    A cmake/modules/check_target.cmake
    A cmake/modules/copy_python_files_in_subdir.cmake
    A cmake/modules/generate_html.cmake
    A cmake/modules/get_host_arch.cmake
    A cmake/modules/get_versions.cmake
    A cmake/modules/linker.cmake
    A cmake/modules/repo_status.cmake
    A cmake/modules/set_compiler_flags.cmake
    A cmake/tests/have_pbuffer.c
    A cmake/tests/have_pixmaps.c
    A cmake/windows_launch.bat.in
    A db/CMakeLists.txt
    A db/drivers/CMakeLists.txt
    M db/drivers/odbc/odbc.h
    A display/CMakeLists.txt
    M display/d.vect/legend.c
    A doc/CMakeLists.txt
    A general/CMakeLists.txt
    A general/manage/lister/CMakeLists.txt
    A gui/CMakeLists.txt
    A gui/icons/CMakeLists.txt
    A gui/images/CMakeLists.txt
    A gui/scripts/CMakeLists.txt
    A gui/wxpython/CMakeLists.txt
    A gui/wxpython/docs/CMakeLists.txt
    A imagery/CMakeLists.txt
    A imagery/i.ortho.photo/CMakeLists.txt
    A include/CMakeLists.txt
    M include/Make/Install.make
    A include/config.h.cmake.in
    M include/grass/calc.h
    M include/grass/config.h.in
    M include/grass/defs/gis.h
    M include/grass/defs/glocale.h
    M include/grass/iostream/mm.h
    M include/grass/iostream/rtimer.h
    A lib/CMakeLists.txt
    M lib/cairodriver/graph.c
    M lib/cairodriver/text.c
    M lib/calc/calc.c
    A lib/db/CMakeLists.txt
    M lib/db/dbmi_base/dbmscap.c
    M lib/db/dbmi_base/dirent.c
    M lib/db/dbmi_base/login.c
    M lib/db/dbmi_client/start.c
    A lib/db/sqlp/CMakeLists.txt
    M lib/driver/driver.h
    M lib/driver/init.c
    M lib/dspf/viz.h
    M lib/external/ccmath/ccmath.h
    A lib/fonts/CMakeLists.txt
    A lib/gis/CMakeLists.txt
    M lib/gis/G.h
    M lib/gis/gisinit.c
    M lib/gis/mapset_msc.c
    M lib/gis/parser_interface.c
    M lib/gis/paths.c
    M lib/gis/popen.c
    M lib/gis/sleep.c
    M lib/gis/spawn.c
    M lib/gis/user_config.c
    M lib/gis/whoami.c
    M lib/gmath/la.c
    M lib/imagery/iscatt_core.c
    A lib/init/CMakeLists.txt
    M lib/init/Makefile
    M lib/init/clean_temp.c
    A lib/init/grass.bat.in
    M lib/init/grass.py
    A lib/init/grass.sh.in
    M lib/init/lock.c
    M lib/init/run.c
    M lib/iostream/rtimer.cpp
    M lib/manage/sighold.c
    M lib/pngdriver/graph_close.c
    M lib/pngdriver/graph_set.c
    M lib/pngdriver/pngdriver.h
    A lib/proj/CMakeLists.txt
    M lib/raster/close.c
    M lib/raster3d/close.c
    M lib/raster3d/test/test_raster3d_lib.h
    M lib/raster3d/test/test_tools.c
    A lib/rst/CMakeLists.txt
    M lib/rst/interp_float/interpf.h
    A lib/temporal/CMakeLists.txt
    A lib/vector/CMakeLists.txt
    A lib/vector/dglib/CMakeLists.txt
    A lib/vector/diglib/CMakeLists.txt
    A locale/CMakeLists.txt
    A man/CMakeLists.txt
    A misc/CMakeLists.txt
    A msvc/creat.c
    A msvc/dirent.c
    A msvc/dirent.h
    A msvc/gettimeofday.c
    A msvc/io.h
    A msvc/open.c
    A msvc/strings.h
    A msvc/unistd.h
    A ps/CMakeLists.txt
    A python/CMakeLists.txt
    A python/grass/CMakeLists.txt
    A python/grass/pygrass/CMakeLists.txt
    A python/libgrass_interface_generator/CMakeLists.txt
    A raster/CMakeLists.txt
    A raster/r.colors.out/CMakeLists.txt
    A raster/r.colors/CMakeLists.txt
    M raster/r.horizon/main.c
    A raster/r.li/CMakeLists.txt
    M raster/r.li/r.li.daemon/daemon.c
    M raster/r.li/r.li.daemon/worker.c
    A raster/r.mapcalc/CMakeLists.txt
    M raster/r.mapcalc/evaluate.c
    M raster/r.mapcalc/map.c
    A raster/r.sim/CMakeLists.txt
    M raster/r.sim/simlib/waterglobs.h
    A raster/r.spread/CMakeLists.txt
    M raster/r.sun/main.c
    M raster/r.terraflow/common.cpp
    M raster/r.terraflow/direction.h
    M raster/r.terraflow/filldepr.cpp
    M raster/r.terraflow/flow.cpp
    M raster/r.terraflow/main.cpp
    M raster/r.terraflow/stats.cpp
    M raster/r.to.vect/lines_io.c
    M raster/r.to.vect/util.c
    A raster/r.univar/CMakeLists.txt
    M raster/r.univar/r.univar_main.c
    A raster/r.watershed/CMakeLists.txt
    A raster3d/CMakeLists.txt
    A raster3d/r3.flow/CMakeLists.txt
    A scripts/CMakeLists.txt
    A temporal/CMakeLists.txt
    A utils/CMakeLists.txt
    M utils/timer/main.c
    A vector/CMakeLists.txt
    M vector/v.in.pdal/main.cpp
    A vector/v.lrs/CMakeLists.txt

  Log Message:
  -----------
  cmake: initial commit adding CMake support

Based on original work by Rashad Kanavath in 2020 with pull request:
https://github.com/OSGeo/grass/pull/289

This update introduces preliminary support for building and installing
GRASS GIS using CMake across multiple platforms, including Windows with
MSVS, Linux, and macOS. The installation can be performed using either
the traditional GRASS file structure or a structure that complies with
the Filesystem Hierarchy Standard (FHS).

Co-authored-by: Rashad Kanavath <mohammedrashadkm at gmail.com>
Co-authored-by: Markus Neteler <neteler at gmail.com>
Co-authored-by: Loïc Bartoletti <loic.bartoletti at oslandia.com>
Co-authored-by: Aaron Saw <aaronsms at u.nus.edu>
Co-authored-by: Nicklas Larsson <n_larsson at yahoo.com>
Co-authored-by: Huidae Cho <grass4u at gmail.com>
Co-authored-by: Mahesh Maddineni <maddinenimahesh1998 at gmail.com>
Co-authored-by: Kandel Nelson <075bce084.nelson at pcampus.edu.np>
Co-authored-by: Edouard Choinière <27212526+echoix at users.noreply.github.com>



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