Skip to content

Commit

Permalink
Complete renaming of PythonInterp_FIND_VERSION to <Project>_Python3_F…
Browse files Browse the repository at this point in the history
…IND_VERSION (TriBITSPub#610)

I somehow missed this in the previous commit:

  3e5471d "Change to find_package(Python3), set Python3_EXECUTABLE to PYTHON_EXECUTABLE (TriBITSPub#610)"
  Author: Roscoe A. Bartlett <[email protected]>
  Date:   Thu Oct 3 12:03:52 2024 -0600 (4 weeks ago)

Signed-off-by: Roscoe A. Bartlett <[email protected]>
  • Loading branch information
bartlettroscoe committed Nov 1, 2024
1 parent a473101 commit f5f58fb
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions tribits/doc/guides/TribitsCoreDetailedReference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ a given TriBITS project are:
* `${PROJECT_NAME}_MAKE_INSTALL_GROUP_WRITABLE`_
* `${PROJECT_NAME}_MAKE_INSTALL_WORLD_READABLE`_
* `${PROJECT_NAME}_MUST_FIND_ALL_TPL_LIBS`_
* `${PROJECT_NAME}_Python3_FIND_VERSION`_
* `${PROJECT_NAME}_REQUIRES_PYTHON`_
* `${PROJECT_NAME}_SET_INSTALL_RPATH`_
* `${PROJECT_NAME}_SHOW_GIT_COMMIT_PARENTS`_
Expand All @@ -99,7 +100,6 @@ a given TriBITS project are:
* `DART_TESTING_TIMEOUT`_
* `CMAKE_INSTALL_RPATH_USE_LINK_PATH`_
* `MPI_EXEC_MAX_NUMPROCS`_
* `PythonInterp_FIND_VERSION`_
* `TRIBITS_HANDLE_TRIBITS_DEPRECATED_CODE`_

These options are described below.
Expand Down Expand Up @@ -625,6 +625,23 @@ These options are described below.
in the `<projectDir>/ProjectName.cmake`_ file.


.. _${PROJECT_NAME}_Python3_FIND_VERSION:

**${PROJECT_NAME}_Python3_FIND_VERSION**

Determines the version of Python that is looked for. TriBITS requires at
least version "3.6". A particular TriBITS project can require a higher
version of TriBITS and this is set using, for example:

set(${PROJECT_NAME}_Python3_FIND_VERSION_DEFAULT "3.8")

in the `<projectDir>/ProjectName.cmake`_ file (See `Python Support`_). The
user can force a more recent version of Python by configuring with, for
example::

-D <Project>_Python3_FIND_VERSION="3.8"


.. _${PROJECT_NAME}_REQUIRES_PYTHON:

**${PROJECT_NAME}_REQUIRES_PYTHON**
Expand Down Expand Up @@ -877,22 +894,6 @@ These options are described below.
has 64 cores, a reasonable number for ``MPI_EXEC_MAX_NUMPROCS_DEFAULT`` is
64.

.. _PythonInterp_FIND_VERSION:

**PythonInterp_FIND_VERSION**

Determines the version of Python that is looked for. TriBITS requires at
least version "2.7". A particular TriBITS project can require a higher
version of TriBITS and this is set using, for example:

set(PythonInterp_FIND_VERSION_DEFAULT "3.5.2")

in the `<projectDir>/ProjectName.cmake`_ file (See `Python Support`_). The
default is version "2.7". The user can force a more recent version of
Python by configuring with, for example::

-D PythonInterp_FIND_VERSION="3.6.2"

.. _TRIBITS_HANDLE_TRIBITS_DEPRECATED_CODE:

**TRIBITS_HANDLE_TRIBITS_DEPRECATED_CODE**
Expand Down

0 comments on commit f5f58fb

Please sign in to comment.