PATH:ABSOLUTE_PATH

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

Syntax

$<PATH:ABSOLUTE_PATH[,NORMALIZE],path...,base_directory>

Added in version 3.24.

Returns path as absolute. If path is a relative path ($<PATH:IS_RELATIVE> returns 1), it is evaluated relative to the given base directory specified by base_directory argument.

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

See cmake_path(ABSOLUTE_PATH) for more details.