Learn R Programming

rkeops (version 1.4.2.2)

get_cmake: Return path to cmake executable

Description

This function returns the path to the cmake executable.

Usage

get_cmake(path = NULL)

Value

path to cmake executable.

Arguments

path

text string (optional), path where to search cmake (e.g. /path/to/dir on Unix system). Default value is NULL and the function searches for cmake in the standard PATH (on unix system).

Author

Ghislain Durif

Details

If no path is supplied, the function searches for the cmake command in the standard PATH (on Unix system). If a path is supplied (e.g. /path/to/dir on Unix system), the function search for the cmake command in this path.

Note: for the moment, this does not work on Windows OS.