apotocki/cmake
CMake, the cross-platform build system generator, as Kitware releases it.
- Library
- cmake
- Newest
- 4.4.5 (r1, apple)
- Targets
- apple, linux, windows
- License
- BSD-3-Clause
- Homepage
- https://cmake.org
- Keywords
- build, tool
Use it
In otok.toml:
[deps.cmake]
recipe = "apotocki/cmake"
version = "~> 4.4.5"
Versions
| Version | Target | Channel | Published | Status |
|---|---|---|---|---|
| 4.4.5 (r1, apple) | apple | stable | 2026-11-07 | |
| 4.4.5 (r2, linux) | linux | stable | 2026-11-11 | |
| 4.4.5 (r1, linux) | linux | stable | 2026-11-07 | |
| 4.4.5 (r1, windows) | windows | stable | 2026-11-07 |
4.4.5 (r1, apple)
Platforms
macosx
Recipe files
build.lua
-- The release binaries, copied whole into the prefix from CMake.app/Contents: cmake finds its modules (share/cmake-4.4)
-- beside its bin/.
function build(slice, options, deps)
local release = slice.resources.macos .. "/CMake.app/Contents"
local p = slice.prefix
for _, dir in ipairs{ "bin", "share" } do
otok.copy(release .. "/" .. dir, p .. "/" .. dir)
end
return { programs = { cmake = p .. "/bin/cmake", ctest = p .. "/bin/ctest", cpack = p .. "/bin/cpack" } }
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 macOS: Kitware's universal release
# binaries; 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 = "macos"
url = "https://github.com/Kitware/CMake/releases/download/v4.4.5/cmake-4.4.5-macos-universal.tar.gz"
sha256 = "679e77a96b9ef9484cc6c1445255fc4f84206b48a65420efbedf16bdab55fbff"
when = { host = ["macos-arm64", "macos-x86_64"] }
[platforms]
supported = ["macosx"]
build-on = ["macos/xcode"]