+ +
+

CetTransitivePaths¶

+

Defines the function :commmand:`cet_transitive_paths`.

+
+
+cet_transitive_paths¶
+

Get a list of path values for all transitive dependencies of the +given project name. For a given path name, the dependency tree of +the given project is searched according to the dependencies +specified via find_package.

+

For example, if the path name "MY_PATH" is supplied, the +function will traverse the dependency structure and collect all +values of the path name "<project-or-dependency name>_MY_PATH". +The result can be accessed via the variable +"TRANSITIVE_PATHS_WITH_MY_PATH".

+
cet_transitive_paths(<path-name> [<project-variable localization options>] [IN_TREE] [PROJECT <project-name>])
+
+
+
+

See also

+

cet_localize_pv()

+
+
+

Options¶

+
+
[PROJECT] <project-name>

The top-level project from which the transitive dependency +traversal occurs. (default +${CETMODULES_CURRENT_PROJECT_NAME}).

+
+
[IN_TREE]

Include paths only from projects that are included in the build tree.

+
+
+
+
+

Non-option arguments¶

+
+
<path-name>

The name of the path that serves as the suffix for the top-level +project and all transitive dependencies. The path name can be a +Cetmodules project variable, in which case the options to +cet_localize_pv() may also be provided.

+
+
+
+
+ +
+ + +
+