CetInstalledPath¶
Define the function cet_installed_path() to calculate an
installation path.
- cet_installed_path¶
Calculate a path to a file or directory
<path>as-installed.cet_installed_path(<out-var> <path> { RELATIVE <rel-dir> | RELATIVE_VAR <project-var> } [<options>])Options¶
BASE_SUBDIR <rel-base-dir>Specify
<rel-base-dir>as the location of the installed file relative to <rel-dir> or the content ofproject variable<project-var>.NOPOption / argument disambiguator; no other function.
RELATIVE <rel-dir>Relative path
<rel-dir>will be removed from the front of the calculated path if present.RELATIVE_VAR <project-var>The relative path represented by the value of the project variable
<PROJECT-NAME>_<project-var>will be removed from the front of the calculated path if present, accounting for<PROJECT-NAME>_EXEC_PREFIXwhere appropriate.
Non-option arguments¶
<out-var>The calculated path shall be returned in
<out-var>.<path>The path to the file or directory for which the installation path should be calculated.
Cetmodules