@imp/rules/c/cmake/toolchain

Module: @imp/rules/c/cmake/toolchain.

CMAKE

Documentation is not yet available for this implementation export.

Source: rules/c/cmake/toolchain.luau:28.

artifact_name(version, plat)

The CMake release artifact filename for a version and platform.

Source: rules/c/cmake/toolchain.luau:47.

cache_key(version, plat)

The named-cache key of a CMake version and platform.

Source: rules/c/cmake/toolchain.luau:71.

cmake_bin(exec, cmake_tool)

The absolute host path of the cmake executable. Call it in a task body. cmake_tool is the tool of graph_toolchain(), declared as a task input.

Source: rules/c/cmake/toolchain.luau:167.

cmake_toolchain(version, options)

Declare CMake version. Options: default, unverified (download without a matching lockfile entry), and lockfile (an @workspace/ or @imp/rules/ address used in place of the shipped lockfile). The result has a GEN_LOCKFILES root.

Source: rules/c/cmake/toolchain.luau:128.

default_graph_toolchain()

The default CMake toolchain, or nil when no default is declared.

Source: rules/c/cmake/toolchain.luau:159.

default_version

Documentation is not yet available for this implementation export.

Source: rules/c/cmake/toolchain.luau:203.

download_url(version, plat)

The CMake release download URL for a version and platform.

Source: rules/c/cmake/toolchain.luau:55.

graph_tool(version)

Declare the graph tasks that install CMake version (or the default), and return its tool handle. The handle puts bin on PATH.

Source: rules/c/cmake/toolchain.luau:85.

graph_toolchain(version)

{ tool, version } for CMake version, or for the default.

Source: rules/c/cmake/toolchain.luau:153.

reset_for_test()

Documentation is not yet available for this implementation export.

Source: rules/c/cmake/toolchain.luau:172.

resolve_version

Documentation is not yet available for this implementation export.

Source: rules/c/cmake/toolchain.luau:208.

supported_platforms()

The platforms that CMake publishes release archives for.

Source: rules/c/cmake/toolchain.luau:60.