apotocki/cmake 4.4.5 (r1, windows)
- Library
- cmake
- Variant
- windows, target windows
- Channel
- stable
- Published
- 2026-11-07
- Recipe source
- https://github.com/otok-dev/recipes.git
32756a87cf5bd189ca4c9825159bf0713ea8cf5einrecipes/cmake/4.4/windows/ - Recipe SHA-256
ab61fdffe280ce644ccfeafbc2e1a37926573fea554b2d0771ff32d79c5abb2b
Recipe files changed
Inputs
| source.sha256 | a0c54c88abb8078dd8eccadb717fc6bb194bf18e7d44c86309910288886e04e2 |
|---|---|
| source.url | https://github.com/Kitware/CMake/releases/download/v4.4.5/cmake-4.4.5.tar.gz |
| resource windows_x86_64.sha256 | 326c826486d46a23cf9d5a1c9ee3a567d427bdd02c4a34071937a2a675cff004 |
| resource windows_x86_64.url | https://github.com/Kitware/CMake/releases/download/v4.4.5/cmake-4.4.5-windows-x86_64.zip |
| resource windows_arm64.sha256 | b0b54ebdd3e7b9f5ad733d865541d6e0a3b774182e4318b26890221432835359 |
| resource windows_arm64.url | https://github.com/Kitware/CMake/releases/download/v4.4.5/cmake-4.4.5-windows-arm64.zip |
Platforms
windows
Recipe files
build.lua
-- The release binaries of the build machine, copied whole into the prefix: cmake finds its modules (share/cmake-4.4)
-- beside its bin/.
function build(slice, options, deps)
local r = slice.resources
local release = r.windows_x86_64 or r.windows_arm64
if not release then error("CMake publishes no release binaries for this build machine") end
local p = slice.prefix
for _, dir in ipairs{ "bin", "share" } do
otok.copy(release .. "/" .. dir, p .. "/" .. dir)
end
return { programs = { cmake = p .. "/bin/cmake.exe", ctest = p .. "/bin/ctest.exe", cpack = p .. "/bin/cpack.exe" } }
end
recipe.toml
# The otok recipe of CMake (https://github.com/apotocki/otok): the cmake program for the builds of other recipes, which
# name it as their toolchain (`cmake = { default-recipe = "apotocki/cmake" }`), on Windows: Kitware's release binaries
# of the build machine (a resource per architecture, fetched on that machine only); the source archive carries the
# license.
[recipe]
api = 1
library = "cmake"
name = "cmake"
version = "4.4.5"
revision = 1
license = "BSD-3-Clause"
license-files = ["LICENSE.rst"]
homepage = "https://cmake.org"
description = "CMake, the cross-platform build system generator, as Kitware releases it."
keywords = ["build", "tool"]
[tool]
programs = ["cmake", "ctest", "cpack"]
[source]
url = "https://github.com/Kitware/CMake/releases/download/v4.4.5/cmake-4.4.5.tar.gz"
sha256 = "a0c54c88abb8078dd8eccadb717fc6bb194bf18e7d44c86309910288886e04e2"
[[resource]]
name = "windows_x86_64"
url = "https://github.com/Kitware/CMake/releases/download/v4.4.5/cmake-4.4.5-windows-x86_64.zip"
sha256 = "326c826486d46a23cf9d5a1c9ee3a567d427bdd02c4a34071937a2a675cff004"
when = { host = ["windows-x86_64"] }
[[resource]]
name = "windows_arm64"
url = "https://github.com/Kitware/CMake/releases/download/v4.4.5/cmake-4.4.5-windows-arm64.zip"
sha256 = "b0b54ebdd3e7b9f5ad733d865541d6e0a3b774182e4318b26890221432835359"
when = { host = ["windows-arm64"] }
[platforms]
supported = ["windows"]
build-on = ["windows/msvc", "windows/clang-cl"]