installr (version 0.23.4)

install.CMake: Downloads and installs CMake for windows

Description

Allows the user to downloads and install the latest version of CMake for Windows.

Usage

install.CMake(
  URL = "https://github.com/Kitware/CMake/releases",
  cmake_version = NULL,
  ...
)

Value

TRUE/FALSE - was the installation successful or not.

Arguments

URL

the URL of the CMake download page.

cmake_version

NULL by default, but a user can supply the version as a character.

...

extra parameters to pass to install.URL

Details

CMake is a family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. If run NOT on Windows (i.e.: max/linux), this would download the file into the working directory. (getwd).

References

Examples

Run this code
if (FALSE) {
install.CMake() # installs the latest version of CMake
}

Run the code above in your browser using DataLab