cmake_add()
def cmake_add(name, version, visibility)Add CMake to your sysroot.
This also recommends the txws.cmake extension for Visual Studio Code.
Example:
load("//@star/packages/star/cmake.star", "cmake_add")
cmake_add("cmake3", "v3.21.7")Args
name: string: The name of the rule.version: string: CMake version from github.com/Kitware/CMakevisibility: Rule visibility. See visibility.star for more info.