PATH:CMAKE_PATH

This generator expression belongs to the Path Transformations family. See that section for related generator expressions.

Syntax

$<PATH:CMAKE_PATH[,NORMALIZE],path...>

Added in version 3.24.

Returns path. If path is a native path, it is converted into a cmake-style path with forward-slashes (/). On Windows, the long filename marker is taken into account.

When the NORMALIZE option is specified, the path is normalized after the conversion.