- update to 4.2.0
* 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/request/show/1320990
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=645
- 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
- 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
OBS-URL: https://build.opensuse.org/request/show/1248344
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=620
- update to 3.31.5
* 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/request/show/1241050
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=614
- update to 3.31.2
* 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/request/show/1228876
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
- 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
- update to 3.30.1
* Tests: Fix RunCMake.ExternalProject when git is not available
+ Restore support for exporting INTERFACE with missing
dependencies
* FindMatlab: Restore support for finding Matlab without any
languages
* libuv: backport IDNA input/output hardening fixes
* IntelLLVM: Update toolchain layout for 2024+ versions
* Evaluation of TRANSITIVE_LINK_PROPERTIES isn't considered a usage
- Drop cmake-fix-test-without-git.patch which is part of 3.30.1
OBS-URL: https://build.opensuse.org/request/show/1188712
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=596
- udate to 3.30.0
* "cmake-presets(7)" files now support schema version "9".
"include" fields now expand all macros except "$env{}" and
preset-specific macros, i.e., those derived from the fields
inside a preset's definition.
* The "Compile Features" functionality now implements support
for the "cxx_std_26" and "cuda_std_26" meta-features to
indicate that the compiler mode must be at least C++26.
* The "CMAKE_<LANG>_STANDARD_LATEST" variable was added to
describe the latest "<LANG>" language standard CMake supports
for the selected compiler.
* The "CMAKE_TLS_VERSION" variable and "CMAKE_TLS_VERSION"
environment variable were added to specify a default minimum
TLS version for connections to "https://" URLs by the
"file(DOWNLOAD)" and "file(UPLOAD)" commands.
* The "GENERATED" source file property is now visible in all
directories. See policy "CMP0163". Policy "CMP0118"'s
documentation has been revised to describe its actual effects.
* The "TARGET_PROPERTY" generator expression learned to evaluate
custom transitive properties.
* The "CPack WIX Generator" gained support for WiX Toolset v4.
See the "CPACK_WIX_VERSION" variable.
* The "FindBoost" module has been removed by policy "CMP0167".
Port projects to upstream Boost's "BoostConfig.cmake" package
configuration file, for which "find_package(Boost)" now
searches.
- Add cmake-fix-test-without-git.patch to fix test #567 to be run
conditionally when Git is found, upstream planned for 3.30.1
OBS-URL: https://build.opensuse.org/request/show/1185206
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=587
* The :cpack_gen:`CPack WIX Generator`'s
:variable:`CPACK_WIX_INSTALL_SCOPE` variable, new in 3.29, now
defaults to ``NONE``. This restores
compatibility with behavior of 3.28 and below: without a custom WiX
template, it produces installers that only create start menu
and uninstall entries for the current user, even though they
install for all users.
* In 3.29.0 through 3.29.4, ``CPACK_WIX_INSTALL_SCOPE`` defaulted
to ``perMachine``. This created MSI installers that create
start menu and uninstall entries for all users by default.
While this behavior is better on its own, these installers do
not cleanly replace existing installations created with MSI
installers produced by 3.28 and below. 3.29.5 reverts the
default for compatibility. Projects may transition to
``perMachine`` on their own schedule by setting
``CPACK_WIX_INSTALL_SCOPE``.
* Fixes for Freetype with ZLIB, execute_process, Autogen, Matlab,
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=585