TARGET_FILE_DIR

This generator expression belongs to the Target Artifacts family. See that section for related generator expressions.

Syntax

$<TARGET_FILE_DIR:tgt>

Directory of the tgt binary file.

Note that tgt is not added as a dependency of the target this expression is evaluated on (see policy CMP0112).