- 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
* 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
* The “ASM_MARMASM” language was added to support the Microsoft
ARM assembler language.
* CMake now writes a YAML log of configure-time checks to
“CMakeFiles/CMakeConfigureLog.yaml” under the top of the build
tree.
* The “cmake-file-api(7)” “codemodel” version 2 “target” object
gained a new “fileSets” field and associated “fileSetIndex”
field to “sources” objects.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=517
- Update to 3.25.0
* The “find_file()”, “find_path()”, “find_library()”, and
“find_program()” commands gained a “VALIDATOR” option to
specify a function to be called for each candidate item
to validate it.
* The “try_compile()” and “try_run()” commands gained new
signatures that more consistently use keyword dispatch
and do not require a binary directory to be specified.
* The “add_subdirectory()” command gained a “SYSTEM” option
to enable the “SYSTEM” directory property in the
subdirectory.
* The “block()” and “endblock()” commands were added to manage
specific scopes (policy or variable) for a contained block
of commands.
* The “return()” command gained a “PROPAGATE” option to
propagate variables to the scope to which control returns.
* The “LINUX” and “CMAKE_HOST_LINUX” variables are now set
to true when the target or host system is Linux,
respectively.
OBS-URL: https://build.opensuse.org/request/show/1036397
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=510
- Update to 3.24.1:
* automoc: avoid compiler warnings in linker-warning-silencing code
* FindThreads: Skip check for -pthread flag when targeting the MSVC ABI
* IPO: Do not use -flto=auto with GCC 10.x on Windows
* export: Restore exclusion of private shared library dependencies from checks
* FindVulkan: Restore tolerance of unknown FATAL_ERROR component
* Help: Add 3.24 release note about FindVulkan component enforcement
* TI compiler: Add support for COMPILE_WARNING_AS_ERROR target property
* Help: List compiler IDs supported by COMPILE_WARNING_AS_ERROR
* Help: A missing cross-reference to --compile-no-warning-as-error
OBS-URL: https://build.opensuse.org/request/show/997696
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=500
* The ``CPACK_PACKAGEMAKER_CHOICES`` variable used in the
``CPack.distribution.dist.in`` template file was replaced by a new
``CPACK_APPLE_PKG_INSTALLER_CONTENT`` variable in CMake 3.23.0.
This broke projects that provided their own template file but still
expected the ``CPACK_PACKAGEMAKER_CHOICES`` variable to be defined.
The old ``CPACK_PACKAGEMAKER_CHOICES`` variable is now also set to the
same content as it was before, but it is formally deprecated.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=492
* The target_sources() FILE_SET feature added in CMake 3.23.0 does not yet
place header files properly in Apple FRAMEWORK targets. Pending further
work in a future version of CMake, it is now an error to add a FILE_SET of
type HEADERS to such targets on Apple platforms.
* The HEADER_SETS and INTERFACE_HEADER_SETS target properties added in CMake
3.23.0 are now read-only records of the header sets created by the
target_sources() command.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=489
* The while() command again ignores errors in condition evaluation as CMake
3.21 and below did. This bug was fixed in 3.22.0, but exposed errors in
existing projects. The fix has been reverted to restore compatibility. The
fix may be restored in a future version of CMake via a policy.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=482