- 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/1186108
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=253
- 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
- update to 3.28.1
* cmGeneratorTarget: disable C++ module scanning for verify targets
* cmQtAutoGenInitializer: disable C++ module scanning for autogen sources
* cmLocalGenerator: disable C++ module scanning for copied PCH sources
* cmLocalGenerator: disable C++ module scanning for unity sources
* cmGlobalXCodeGenerator: disable C++ module scanning for force-lang files
* FindFreetype: always find the config module quietly
* FindFreetype: also consider RelWithDebInfo-built libraries
* FindTIFF: always find the config module quietly
* FindTIFF: consider `IMPLIB`-using platforms
* FindCUDAToolkit: Fix stub library representation on reconfigure
* FindMatlab: Fix regression on Windows Registry lookup failure
* FindFreetype: Fix success message when config module is found
* FindTIFF: Restore support for projects that do not enable CMP0057
* FindMatlab: Fix processing of multiple versions from Windows Registry
OBS-URL: https://build.opensuse.org/request/show/1133221
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=559
- update to 3.28.0
* C++ 20 named modules are now supported by Ninja Generators, in
combination with LLVM/Clang 16.0 and newer, and GCC 14 (after
the 2023-09-20 daily bump) and newer.
* "HIP" language code may now be compiled for NVIDIA GPUs using
the NVIDIA CUDA Compiler (NVCC).
* The "exec_program()" command, which has been deprecated since
CMake 3.0, has been removed by policy "CMP0153". Use the
"execute_process()" command instead.
* Generated files, in targets using File Sets, are now considered
private by default. Generated public headers must be specified
using file sets.
* The "find_library()", "find_path()", and "find_file()" commands no
longer search in installation prefixes derived from the "PATH"
environment variable.
OBS-URL: https://build.opensuse.org/request/show/1131496
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=558
- update to 3.27.8 (bsc#1215888, CVE-2023-38545):
* cmComputeLinkDepends: also copy the target from object link items
* cmComputeLinkInformation: skip over linking to items for object purposes
* Fortran: Restore support for TARGET_OBJECTS providing modules
* curl: Backport SOCKS5 heap buffer overflow fix from curl 8.4.0
* GetPrerequisites: Revert “Ignore relative paths printed by ldd”
* cmCommonTargetGenerator: Factor out GetLinkedTargetDirectories loop body
* cmComputeLinkInformation: Track targets named by TARGET_OBJECTS sources
* FindOpenMP: Add support for openmp 5.1 (llvm 17) and 5.2
- modify shebang to the actual python interpreter on install
target_sources() command.
and turn off LTO
fix may be restored in a future version of CMake via a policy.
CMAKE_CONFIGURATION_TYPES
CMAKE_INSTALL_MODE
* Multiple further bug fixes
race
compiler generated headers.
* The Compile Features functionality was updated for MSVC 19.28
https://blog.kitware.com/cmake-3-17-0-available-for-download/
* In CMake 3.15.0 through 3.15.3, the EXCLUDE_FROM_ALL directory
within the directory to be excluded even from its own “all”.
This has been fixed. The bug also existed in 3.14.0 through
- Use pkgconfig for dependencies where possible (required due to
find_package() command to fail on a missing package even
* reverted change to pass compiler implicit include directories
* Cmake(1) build tool (cmake--build) gained --parallel [<jobs>]
* CMAKE_FOLDER variable was added to initialze the FOLDER property
* ChangeLog, see: https://cmake.org/cmake/help/v3.12/release/3.12.html
OBS-URL: https://build.opensuse.org/request/show/1129091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=241
* cmComputeLinkDepends: also copy the target from object link items
* cmComputeLinkInformation: skip over linking to items for object purposes
* Fortran: Restore support for TARGET_OBJECTS providing modules
* curl: Backport SOCKS5 heap buffer overflow fix from curl 8.4.0
* GetPrerequisites: Revert “Ignore relative paths printed by ldd”
* cmCommonTargetGenerator: Factor out GetLinkedTargetDirectories loop body
* cmComputeLinkInformation: Track targets named by TARGET_OBJECTS sources
* FindOpenMP: Add support for openmp 5.1 (llvm 17) and 5.2
- modify shebang to the actual python interpreter on install
target_sources() command.
and turn off LTO
fix may be restored in a future version of CMake via a policy.
CMAKE_CONFIGURATION_TYPES
CMAKE_INSTALL_MODE
* Multiple further bug fixes
race
compiler generated headers.
* The Compile Features functionality was updated for MSVC 19.28
https://blog.kitware.com/cmake-3-17-0-available-for-download/
* In CMake 3.15.0 through 3.15.3, the EXCLUDE_FROM_ALL directory
within the directory to be excluded even from its own “all”.
This has been fixed. The bug also existed in 3.14.0 through
- Use pkgconfig for dependencies where possible (required due to
find_package() command to fail on a missing package even
* reverted change to pass compiler implicit include directories
* Cmake(1) build tool (cmake--build) gained --parallel [<jobs>]
* CMAKE_FOLDER variable was added to initialze the FOLDER property
* ChangeLog, see: https://cmake.org/cmake/help/v3.12/release/3.12.html
- adjust c17-default.patch
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=554
- update to 3.27.5:
* cmGeneratorTarget: support config-independent Fortran source queries
* cmComputeLinkInformation: compute link info for module-using targets
* FortranCInterface: forward CMAKE_OSX_DEPLOYMENT_TARGET
* cxxmodules: detect and message about non-compiled sources
* Source: Link libatomic when needed on any Linux architecture
* Help: MSVC_DEBUG_INFORMATION_FORMAT is initialized from associated variable
* FindBoost: Add support for Boost 1.83
* Autogen: Evaluate INTERFACE_AUTOMOC_MACRO_NAMES efficiently
* VS: Avoid unnecessary CUDA device linking for OBJECT libraries
OBS-URL: https://build.opensuse.org/request/show/1111436
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=549