Check if a value is "truthy" according to CMake's own language rules
The value to check
Map an iterable by some projection function
An iterable to map
The projection function
Completely normalize/canonicalize a path.
Using path.normalize
isn't sufficient. We want convert all paths to use
POSIX separators, remove redundant separators, and sometimes normalize the
case of the path.
The input path
Options to control the normalization
The normalized path
Generate an array of key-value pairs from an object using
getOwnPropertyNames
The object to iterate
Generate a random integral value.
Minimum value
Maximum value
Remove all occurrences of a list of strings from a string.
The input string
Strings to remove from str
The modified string
Replace all occurrences of needle
in str
with what
The input string
The search string
The value to insert in place of needle
The modified string
Split a path into its elements.
The path to split
Generated using TypeDoc
Escape a string so it can be used as a regular expression