Version | Change log |
CMake 3.31.2 Dec 6, 2024 |
AIX: Disallow TARGET_SONAME_* genex for AIX_SHARED_LIBRARY_ARCHIVE targets AIX: Propagate AIX_SHARED_LIBRARY_ARCHIVE through exports 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 ci: Update to ROCm 6 HIP on Fedora 41 CMake 3.31.2 Tutorial: Restore TODO 4 comment in step 7 Intel/Classic: deactivate linker dependency file support FindPython: Ensure SABIModule is found in all cases Autogen: Restore <target_name>_autogen_timestamp_deps target Autogen: Fix Ninja Multi-Config dependency graph regression Autogen: Revert adding ui files to byproducts of the timestamp target FindRuby: Add support for 3.4 |
CMake 3.31.1 Nov 25, 2024 |
Help: Add missing one-line summary to policy CMP0132 FindBoost: Add support for Boost 1.86 ci: Rebuild Fedora 41 image with updates Clarify advice given by compatibility deprecation message for CMake < 3.10 Help: Clarify instructions for using older VS toolsets with newer VS versions ci: Update Windows builds to MSVC 14.42 toolset ci: update macOS jobs to use Xcode 16.1 libarchive: Update script to get 3.7.7 execute_process: Restore CLOEXEC on OUTPUT_FILE and ERROR_FILE descriptors CMake 3.31.1 GoogleTest: Clear script content buffer on flush and flush less often GoogleTest: Avoid extra call to set DISABLED test property in discovery CMP0175: Do not reject USES_TERMINAL for add_custom_command(TARGET) Linker configuration: Add missing platforms LLD linker: avoid regression on archive libraries deduplication cmExperimental: Make CPS-export experimental notice more consistent FindSQLite3: Guard calls to pkg_check_modules Help: Guard calls to pkg_check_modules in cmake-developer(7) example FindImageMagick: Fix ARCH_INCLUDE_DIR detection for version 7 and newer Linux: Recognize multiarch directories for musl-linux-any |
CMake 3.31.0 Nov 9, 2024 |
New Features: Presets: “cmake-presets(7)” files may now include comments using the key $comment” at any level within the JSON object to provide documentation. “cmake-presets(7)” files may now request graphviz output using the “graphviz” key in a configure preset. Generators: The Ninja Generators and Makefile Generators now produce a “codegen” build target. See policy “CMP0171”. It drives a subset of the build graph sufficient to run custom commands created with "add_custom_command()”'s new “CODEGEN” option. Command-Line: The “cmake --workflow” mode now accepts a preset name as the first argument, allowing the simpler command line “cmake --workflow <preset>”. The “cmake -LR[A][H]” option was added to list cache entries whose names match a regular expression. Compilers: The LFortran compiler is now supported with “compiler id” “LFortran”. Commands: The “add_custom_command()” command gained a “CODEGEN” option to mark a custom command’s outputs as dependencies of a “codegen” target. See policy “CMP0171”. The “cmake_pkg_config()” command was added as an endpoint for using CMake’s native pkg-config format parser. The only supported option in this release is “EXTRACT”, which provides low-level access to the values produced by parsing a pkg-config file. For most users, this is not yet a suitable replacement for the “FindPkgConfig” module. The “file(ARCHIVE_CREATE)” command gained a “WORKING_DIRECTORY” option to specify a working directory for the archiving process. The “file(MAKE_DIRECTORY)” command gained a “RESULT” option to capture failure in a result variable. The “install(FILES)” and “install(DIRECTORY)” commands’ “TYPE” argument gained support for a “LIBEXEC” type. Variables: The “CMAKE_AIX_SHARED_LIBRARY_ARCHIVE” variable and corresponding “AIX_SHARED_LIBRARY_ARCHIVE” target property were added to create shared libraries on AIX as sh |
CMake 3.30.5 Oct 9, 2024 | Only check non-cache vars when setting project vars |
CMake 3.30.4 Sep 29, 2024 |
Brad King (4): gitlab-ci: update macOS jobs to use Xcode 16.0 ci: Run RunCMake.ExternalProject serially in macos-x86_64 Xcode job Help: Add 3.30 release notes for project variable updates CMake 3.30.4 Craig Scott (4): Help: file(CONFIGURE) only updates output file timestamp if it changes FetchContent: Don’t update verify script timestamp if it doesn’t change Help: State valid scopes for using proj_SOURCE_DIR and proj_BINARY_DIR project: Only define non-cache vars if already defined Diego Dassie (1): CPack/NuGet: Add native0.0 to build dependencies in groups Dilshod Mukhtarov (1): librhash: aligned_alloc is not available with glibc < 2.16 Hermann von Kleist (4): FindMatlab: Only consider versioned MCR subdirectory if it exists FindMatlab: Add support for MCR distributions without mex.h FindMatlab: Cache whether MATLAB root contains MCR or MATLAB FindMatlab: Search mex and mx libraries for MCR Marc Chevrier (1): FindPython: ensure all ABI are searched by default scivision (1): FindMatlab: Add R2024b version map |
CMake 3.30.3 Aug 31, 2024 |
Brad King (7): 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 FindJNI: Improve output on macOS if Xcode is not installed ci: update to use ninja 1.12.1 gitlab-ci: update macOS jobs to use Xcode 15.4 gitlab-ci: Update Windows builds to MSVC 14.41 toolset CMake 3.30.3 Christoph Grüninger (1): cppdap: include/dap/network.h: add <stdint.h> include for GCC 15 Even Rouault (1): FindPython: fix regression of NumPy detection with Intel MKL library K. R. Walker (1): CPack/NSIS: Fix matching of reserved component names Lars Schmertmann (1): Android: Fix build with NDK 27 Marc Chevrier (1): FindPython: ensure a usable environment is set for the free threaded Python Robert Maynard (1): project: non cache <project> prefix variables are also created WANG Xuerui (1): FindJNI: Support finding libjvm.so for all OpenJDK variants |
CMake 3.30.2 Aug 13, 2024 |
Ben Boeckel (1): cmCPackExternalGenerator: ensure JSON is written before running the script Brad King (6): ci: Update CMake version to 3.30.1 Xcode: Restore support for CMAKE_OSX_ARCHITECTURES=$(ARCHS_STANDARD) Help: Fix typo in add_test documentation Tests/RunCMake/file-DOWNLOAD: Update bad hostname message for curl 8.9 Tests: Restore suppression of xcodebuild error with Xcode Command-Line Tools CMake 3.30.2 Craig Scott (3): ExternalProject: Don't add SVN auth args if not set ExternalProject: Fix bad indenting for uses_terminal FetchContent: Ensure can_fetch_default is set early enough Evan Wilde (1): Swift: Fix INSTALL_NAME_DIR under CMP0157 NEW behavior Marc Chevrier (1): FindPython: Fix usage of cached variable _Python_EXECUTABLE_DEBUG ojab ojab (1): bootstrap: Restore support for system jsoncpp and uv without pkg-config |
CMake 3.30.1 Jul 20, 2024 |
Changes made since CMake 3.30.0-rc4: Brad King (2): ci: Update CMake version to 3.30.0-rc4 CMake 3.30.0 權少 (1): Help: Fix typo in cmake-cxxmodules(7) note syntax |
CMake 3.30.0 Jul 18, 2024 |
Changes made since CMake 3.30.0-rc4: Brad King (2): ci: Update CMake version to 3.30.0-rc4 CMake 3.30.0 權少 (1): Help: Fix typo in cmake-cxxmodules(7) note syntax |
CMake 3.19.2 Dec 17, 2020 |