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

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

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

Value

TRUE/FALSE - was the installation successful or not.

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

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