@@ -2269,6 +2269,11 @@ This defines all of the TPLs that ``<tplName>`` could directly depends on but
2269
2269
only dependencies for enabled upstream TPLs will be added to the IMPORTED
2270
2270
targets.
2271
2271
2272
+ NOTE: TPL-to-TPL dependencies are optional. Therefore, in the above example,
2273
+ enabling the TPL ``<tplName> `` will not auto-enable a dependent upstream TPL
2274
+ ``<upstreamTpl_i> ``. Likewise, disabling an upstream TPL ``<upstreamTpl_i> ``
2275
+ will not auto-disable a dependent downstream TPL ``<tplName> ``.
2276
+
2272
2277
2273
2278
TriBITS External Package/TPL Core Variables
2274
2279
...........................................
@@ -3676,19 +3681,24 @@ In more detail, these rules/behaviors are:
3676
3681
3677
3682
.. _<Project>_ENABLE_ALL_FORWARD_DEP_PACKAGES enables downstream packages/tests :
3678
3683
3679
- 17) **<Project>_ENABLE_ALL_FORWARD_DEP_PACKAGES enables downstream packages/tests **:
3680
- Setting the user cache-variable
3684
+ 17) **<Project>_ENABLE_ALL_FORWARD_DEP_PACKAGES enables downstream
3685
+ packages/tests **: Setting the user cache-variable
3681
3686
``${PROJECT_NAME}_ENABLE_ALL_FORWARD_PACKAGES=ON `` will result in the
3682
- `downstream `_ ``PT `` packages and tests to be enabled (and all `` PT ``
3683
- and ``ST `` packages and tests when
3687
+ `downstream `_ ``PT `` internal packages and tests to be enabled (and all
3688
+ `` PT `` and ``ST `` packages and tests when
3684
3689
``${PROJECT_NAME}_SECONDARY_TESTED_CODE=ON ``) for all explicitly enabled
3685
- packages. For example, configuring with `` Trilinos_ENABLE_Epetra=ON ``,
3686
- ``Trilinos_ENABLE_TESTS=ON ``, and
3690
+ internal packages. For example, in the mock Trilinos project, configuring
3691
+ with `` Trilinos_ENABLE_Epetra=ON ``, ``Trilinos_ENABLE_TESTS=ON ``, and
3687
3692
``Trilinos_ENABLE_ALL_FORWARD_PACKAGES=ON `` will result the package
3688
- enables (and test and example enables) for the packages ``Triutils ``,
3689
- ``EpetraExt ``, ``ThyraCoreLibs ``, ``ThyraEpetra `` and ``Thyra ``. For an
3690
- example, see `Explicit enable of a package and downstream packages and
3691
- tests `_.
3693
+ enables (and test and example enables) for the downstream packages
3694
+ ``Triutils ``, ``EpetraExt ``, ``ThyraCoreLibs ``, ``ThyraEpetra `` and
3695
+ ``Thyra ``. For an example, see `Explicit enable of a package and
3696
+ downstream packages and tests `_. Note that when setting this option, the
3697
+ enable of an external package/TPL will **not ** result in the auto-enable
3698
+ of downstream internal packages. For example, setting
3699
+ ``Trilinos_ENABLE_BLAS=ON `` will not result in the auto-enable of any
3700
+ internal packages that depend on ``BLAS `` like ``Teuchos `` (in the mock
3701
+ Trilinos project).
3692
3702
3693
3703
.. _${PROJECT_NAME}_ENABLE_ALL_PACKAGES :
3694
3704
0 commit comments