get_cmake: Return path to cmake executable

Description Usage Arguments Details Value Author(s)

View source: R/common-get_cmake.R

Description

This function returns the path to the cmake executable.

Usage

1
get_cmake(path = NULL)

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).

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.

Value

path to cmake executable.

Author(s)

Ghislain Durif


rkeops documentation built on Feb. 17, 2021, 5:08 p.m.