Skip to content

Commit 2782834

Browse files
committed
gnatcov doc: state that GPR_PROJECT_PATH needs an update with --prefix
1 parent adb8813 commit 2782834

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Diff for: doc/gnatcov/src_traces.rst

+10-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,16 @@ another location, pass the :cmd-option:`--prefix` option:
8383

8484
.. code-block:: sh
8585
86-
gnatcov setup --prefix=/usr/local
86+
gnatcov setup --prefix=/usr/custom
87+
88+
When installing the coverage runtime to a non-default location, tools that
89+
process project files must be instructed how to find the coverage runtime
90+
project file that is installed. To achieve this, update the
91+
``GPR_PROJECT_PATH`` environment variable:
92+
93+
.. code-block:: sh
94+
95+
export GPR_PROJECT_PATH=$GPR_PROJECT_PATH:/usr/custom/share/gpr
8796
8897
8998
Multiple runtimes in the same prefix

0 commit comments

Comments
 (0)