@@ -1748,7 +1748,7 @@ A packages' core variables are broken down into the following categories:
1748
1748
1749
1749
.. _TriBITS Package Local Variables :
1750
1750
1751
- The following locally scoped *TriBITS Package Local Variables * are defined
1751
+ The following locally scoped ** TriBITS Package Local Variables * * are defined
1752
1752
when the files for a given TriBITS Package (or any SE package for that matter)
1753
1753
are being processed:
1754
1754
@@ -1777,7 +1777,7 @@ are being processed:
1777
1777
.. _TriBITS Package Top-Level Local Variables :
1778
1778
1779
1779
Once all of the TriBITS SE package's ``Dependencies.cmake `` files have been
1780
- processed, the following *TriBITS Package Top-Level Local Variables * are
1780
+ processed, the following ** TriBITS Package Top-Level Local Variables * * are
1781
1781
defined:
1782
1782
1783
1783
.. _${PACKAGE_NAME}_SOURCE_DIR :
@@ -1830,7 +1830,7 @@ defined:
1830
1830
1831
1831
.. _TriBITS Package Cache Variables :
1832
1832
1833
- In addition, the following user-settable *TriBITS Package Cache Variables * are
1833
+ In addition, the following user-settable ** TriBITS Package Cache Variables * * are
1834
1834
defined before a (SE) Package's ``CMakeLists.txt `` file is processed:
1835
1835
1836
1836
.. _${PROJECT_NAME}_ENABLE_${PACKAGE_NAME} :
@@ -1897,7 +1897,7 @@ Logic`_.
1897
1897
1898
1898
.. _TriBITS Package Optional Dependency Macro Variables :
1899
1899
1900
- The following local *TriBITS Package Optional Dependency Macro Variables * are
1900
+ The following local ** TriBITS Package Optional Dependency Macro Variables * * are
1901
1901
defined in the top-level project scope before a (SE) Package's
1902
1902
``CMakeLists.txt `` file is processed:
1903
1903
@@ -2126,17 +2126,19 @@ TriBITS Subpackage Core Variables
2126
2126
.................................
2127
2127
2128
2128
The core variables associated with a subpackage are identical to the `TriBITS
2129
- Package Core Variables `_. The only difference is that a subpackage may need
2130
- to refer to its parent package where a top-level package does not have a
2131
- parent package. The extra variables that are defined when processing a
2132
- subpackage's files are :
2129
+ Package Core Variables `_. In addition, a subpackage may need to refer to its
2130
+ top-level parent package where a top-level package does not have a parent
2131
+ package. These additional variables that are defined for subpackages are
2132
+ broken down into the following categories :
2133
2133
2134
- .. _${PACKAGE_NAME}_PARENT_PACKAGE :
2134
+ * `TriBITS Subpackage Local Variables `_
2135
+ * `TriBITS Subpackage Top-Level Local Variables `_
2135
2136
2136
- `` ${PACKAGE_NAME}_PARENT_PACKAGE ``
2137
+ .. _ TriBITS Subpackage Local Variables :
2137
2138
2138
- The name of the parent package. (NOTE: If this is empty "", then
2139
- ``${PACKAGE_NAME} `` is actually a parent package and not a subpackage.)
2139
+ In addition to the `TriBITS Package Local Variables `_, the following locally
2140
+ scoped **TriBITS Subpackage Local Variables ** are defined when the files for a
2141
+ given TriBITS Subpackage are being processed:
2140
2142
2141
2143
.. _PARENT_PACKAGE_NAME :
2142
2144
@@ -2153,6 +2155,20 @@ subpackage's files are:
2153
2155
The absolute path to the parent package's base binary directory.
2154
2156
2155
2157
2158
+ .. _TriBITS Subpackage Top-Level Local Variables :
2159
+
2160
+ In addition to the `TriBITS Package Top-Level Local Variables `_, once all of a
2161
+ TriBITS subpackage's ``Dependencies.cmake `` files have been processed, the
2162
+ following **TriBITS Subpackage Top-Level Local Variables ** are defined:
2163
+
2164
+ .. _${PACKAGE_NAME}_PARENT_PACKAGE :
2165
+
2166
+ ``${PACKAGE_NAME}_PARENT_PACKAGE ``
2167
+
2168
+ The name of the parent package. (NOTE: If this is empty "", then
2169
+ ``${PACKAGE_NAME} `` is actually a parent package and not a subpackage.)
2170
+
2171
+
2156
2172
How is a TriBITS Subpackage different from a TriBITS Package?
2157
2173
.............................................................
2158
2174
0 commit comments