Skip to content

Commit

Permalink
Fix bad doc references
Browse files Browse the repository at this point in the history
  • Loading branch information
greenc-FNAL committed Nov 8, 2023
1 parent 252dc71 commit 5da6442
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Modules/CetCMakeConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ include(ParseVersionString)
.. rst-class:: text-start
Generate and install :filename:`<PROJECT-NAME>Config.cmake` and
:filename:`<PROJECT-NAME>ConfigVersion.cmake`.
Generate and install :file:`<PROJECT-NAME>Config.cmake` and
:file:`<PROJECT-NAME>ConfigVersion.cmake`.
.. code-block:: cmake
Expand Down
12 changes: 7 additions & 5 deletions doc/reference/manual/cetmodules-project-variables.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Properties defined by :command:`project_variable`
``ORIGIN``
The origin of the initial value of the project variable, following the
`defined order of precedence
<project-variable-init-value-precedence>`_ . Valid values are:
<project-variable-init-value-precedence>`_. Valid values are:

* The name of the variable from which the initial value was taken.

Expand All @@ -88,10 +88,12 @@ Project Variables and CMake Config files

Any project variable defined with the ``CONFIG`` attribute will be
propagated to dependent packages: a suitable definition will be
generated in :filename:`<PROJECT-NAME>Config.cmake` by the
generated in :file:`<PROJECT-NAME>Config.cmake` by the
:command:`cet_cmake_config` function. In the case of project variables
of type ``(FILE)?PATH(_FRAGMENT)?``, the path will be localized
appropriately for the package's installation location. Additional
attributes (`project_variable-MISSING_OK`_,
`project_variable-OMIT_IF_EMPTY`_, `project_variable-OMIT_IF_MISSING`_,
`project_variable-OMIT_IF_NULL`_) modify the details of that definition.
attributes (:ref:`project_variable-MISSING_OK`,
:ref:`project_variable-OMIT_IF_EMPTY`,
:ref:`project_variable-OMIT_IF_MISSING`,
:ref:`project_variable-OMIT_IF_NULL`) modify the details of that
definition.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ CETMODULES_CURRENT_PROJECT_VARIABLE_PREFIX

A variable whose value is generated from the SHA256-hashed value of
the full physical path to the current project's top level
:filename:`CMakeLists.txt`.
:file:`CMakeLists.txt`.

Used by ``buildtool`` and other cetbuildtools-compatibility functions
to set initial values for :manual:`project variables
Expand Down

0 comments on commit 5da6442

Please sign in to comment.