SHELL_PATH¶
This generator expression belongs to the Path Expressions family. See that section for related generator expressions.
Syntax¶
$<SHELL_PATH:...>
Added in version 3.4.
Content of ... converted to shell path style. For example, slashes are
converted to backslashes in Windows shells and drive letters are converted to
posix paths in MSYS shells. The ... must be an absolute path.
Added in version 3.14: The ... may be a semicolon-separated list
of paths, in which case each path is converted individually and a result
list is generated using the shell path separator (: on POSIX and
; on Windows). Be sure to enclose the argument containing this genex
in double quotes in CMake source code so that ; does not split arguments.