* The "FASTBuild" generator was added.
* CMake now supports Cross Compiling for Emscripten with simple
toolchain files.
* The "set(CACHE{<variable>})" and "unset(CACHE{<variable>})"
commands were added to explicitly set and unset cache entries.
* The "INSTALL_OBJECT_NAME" source file property was added to control
names of installed object files for specific compiled sources.
* Nearly all find modules now provide a "<PackageName>_VERSION" result
variable matching the casing of its module name. Existing variants
such as "<PackageName>_VERSION_STRING" and uppercased
"<PACKAGENAME>_VERSION" are deprecated.
* The "ExternalProject" module's "ExternalProject_Add()" and
"ExternalProject_Add_Step()" commands now provide options to set
environment variables on the configure, build, install, and test
steps.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=645
* Ninja: escape special characters in custom command comments
* GNUInstallDirs: Fix regression on -DCMAKE_INSTALL_<dir>=<default> in /usr
* FindPython: Ensure correct handling of Python_FIND_ABI variable
- remove avoid-using-undocumented-type.patch part of upstream
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=641
* ctest: Restore default of no time limit for command-line `-T
Test` step
* ctest: Restore default test timeout for command-line `-T Test`
step
* cmList: fix swap function definition
* string(GENEX_STRIP): Fix regression on nested generator
expressions
* Clang/CUDA: Support CUDA Toolkit 13 new include layout
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=637
- Update to CMake 4.1.0
* The "cmake-configure-log(7)" now reports events from
"find_package()" (in "CONFIG" mode), "find_path()",
"find_file()", "find_library()", and "find_program()" commands
when first invoked, when their results transition between "not
found" and "found".
* The "cmake_pkg_config()" command now supports the "IMPORT" and
"POPULATE" subcommands for interfacing CMake targets with
pkg-config based dependencies.
* The "CMAKE_FIND_REQUIRED" variable was added to tell
"find_package()", "find_path()", "find_file()",
"find_library()", and "find_program()" to be "REQUIRED" by
default.
* The "FindBLAS" and "FindLAPACK" modules now support the NVIDIA
Performance Libraries (NVPL).
* The "string(REGEX MATCHALL)", "string(REGEX REPLACE)", and
"list(TRANSFORM REPLACE)" commands now match the regular
expression "^" anchor at most once in repeated searches, at the
start of the input. See policy "CMP0186".
* The "TARGET_PROPERTY" generator expression now evaluates the
"LINK_LIBRARIES" and "INTERFACE_LINK_LIBRARIES" target properties
transitively. See policy "CMP0189".
- Remove cmake-findhdf5-prefer-hl-compilers.patch, part of upstream
OBS-URL: https://build.opensuse.org/request/show/1298231
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=636
- update to 4.0.3
* CUDA/Clang: Fix list of architectures supported by Clang < 20.1,
Reorder the logic for setting supported archs, add archs
supported by Clang 21
* gcc: support `import std`
* experimental: recycle the `import std` UUID
* Clang/CXXImportStd: support `-stdlib=libstdc++`
* experimental/CXXModules: recycle the UUID
* FindPython: rely on ABIFLAGS on Windows for ABI profile
* FindPython: Avoid implicit link library on Windows
- Replace usage of %jobs for reproducible builds (boo#1237231)
- fix GUI build on openSUSE Leap 15.x
- update to 4.0.1
* get_filename_component: Restore lexical preprocessing of
REALPATH for compat
* find_package: Restore component requirements in nested calls
* Source: Include specific CoreFoundation headers instead of
umbrella header
- update to CMake 4.0
* The "CMAKE_POLICY_VERSION_MINIMUM" variable was added to help
packagers and end users try to configure existing projects that
have not been updated to work with supported CMake versions.
* The "$<PATH>" generator expression gained the "NATIVE_PATH"
operation to convert a CMake path into a native one.
* Compatibility with versions of CMake older than 3.5 has been
removed.
* The "cmake --link-no-warning-as-error" option was added to
suppress the effects of the "LINK_WARNING_AS_ERROR" target
property and "CMAKE_LINK_WARNING_AS_ERROR" variable.
* The "target_link_libraries()" command now supports the
"LINKER:" prefix.
- adjust cmake-fix-ruby-test.patch
* fix FindCUDAToolkit doesn't find CUPTI in CUDA installations
from runfile
* fix file(MAKE_DIRECTORY): creates RESULT and <variable> folders
* fix Wrong detection of LINKER_PUSHPOP_STATE_SUPPORTED
* fix cmake-gui: Invalid error message "Error: could not load cache"
* fix build with curl 8.13.0 (boo#1241036)
- Switch cmake-gui builds to Qt6.
- Add BuildRequires: qt6-macro to locate qhelpgenerator (in
%_qt6_libexecdir) and add corresponding path to env PATH.
- Drop use of deprecated %suse_update_desktop_file macro and
BuildRequires: update-desktop-files needed solely for this.
OBS-URL: https://build.opensuse.org/request/show/1286213
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=633
- temporarily revert "make %cmake_{build, install} call cmake
directly" as the fall out is too large. will be restored once
fallout can be mitigated
- update to 3.31.6
* cmGeneratorExpressionDAGChecker: Construct with initializer
list syntax, De-duplicate constructor signature, Construct
with initializer list syntax
* GenEx: Restore evaluation context for conditional transitive
properties, Fix evaluation of LINK_LIBRARIES as custom
transitive property
* GoogleTest: Restore support for spaces in explicit
WORKING_DIRECTORY
--------------------------------------------------------------------
- make %cmake_{build, install} call cmake directly
to auto set generator so that %global
are no longer needed to set generators
OBS-URL: https://build.opensuse.org/request/show/1249317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=264
* cmGeneratorExpressionDAGChecker: Construct with initializer
list syntax, De-duplicate constructor signature, Construct
with initializer list syntax
* GenEx: Restore evaluation context for conditional transitive
properties, Fix evaluation of LINK_LIBRARIES as custom
transitive property
* GoogleTest: Restore support for spaces in explicit
WORKING_DIRECTORY
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=620
* Clang/CUDA: Fix language-wide flags when linking .so with
compiler driver
* Tests: Update expected results for ninja post-1.12 development
* FindMatlab: Fix multi-signature function documentation anchors
* IAR: decouple linker location from toolkit's bin dir
* install: Generate InstallScripts.json in consistent location
- update to 3.31.4
* LFortran: Remove hard-coded --generate-object-code flag
* FindBoost: Add support for Boost 1.87
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=614
* GNU linker: Use single-argument form of --dependency-file flag
* fileapi: Do not expose flags for linker-generated dependencies
* LINK_OPTIONS: Fix crash on empty LINKER: prefix
* FindRuby: Add support for 3.4
- update to 3.31.1
* FindBoost: Add support for Boost 1.86
* libarchive: Update script to get 3.7.7
* execute_process: Restore CLOEXEC on OUTPUT_FILE and
ERROR_FILE descriptors
* LLD linker: avoid regression on archive libraries deduplication
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=610
- update to 3.31.0
* cmake-presets(7) files may now include comments using the key
"$comment" at any level within the JSON object to provide
documentation.
* The Ninja Generators and Makefile Generators now produce a
"codegen" build target.
* The "CMAKE_LINK_LIBRARIES_STRATEGY" variable and corresponding
"LINK_LIBRARIES_STRATEGY" target property were added to
optionally specify the strategy CMake uses to generate link
lines.
* The "CMAKE_EXPORT_BUILD_DATABASE" variable, a corresponding
"CMAKE_EXPORT_BUILD_DATABASE" environment variable, and an
"EXPORT_BUILD_DATABASE" target property, were added to enable
exporting C++ module compile commands. This is only supported
with Ninja Generators.
* The "CMAKE_<LANG>_HOST_COMPILER_ID" and
"CMAKE_<LANG>_HOST_COMPILER_VERSION" variables were added,
where "<LANG>" is either "CUDA" or "HIP". They are populated
when "CMAKE_<LANG>_COMPILER_ID" is "NVIDIA" to identify NVCC's
host compiler.
* The "file(DOWNLOAD)" and "file(UPLOAD)" commands now verify TLS
server certificates for connections to "https://" URLs by
default.
OBS-URL: https://build.opensuse.org/request/show/1222559
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=608
* FetchContent: Don't update verify script timestamp if it
doesn't change
* project: Only define non-cache vars if already defined
* librhash: aligned_alloc is not available with glibc < 2.16
* FindPython: ensure all ABI are searched by default
* FindMatlab: multiple fixes for MCR
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=604
- update to 3.30.3:
* file(DOWNLOAD): Fix User-Agent to use run-time curl version
* curl: Avoid using HTTP/2 with curl 8.7.x due to bug in error
codes
* FindPython: fix regression of NumPy detection with Intel MKL
library
* FindPython: ensure a usable environment is set for the free
threaded Python
* project: non cache <project> prefix variables are created
* FindJNI: Support finding libjvm.so for all OpenJDK variants
- Remove cmake-zerojvm.patch which is part of upstream
OBS-URL: https://build.opensuse.org/request/show/1197687
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=602