From ead28acc527799ee9cc4ea7859cf3f30eb07159e Mon Sep 17 00:00:00 2001 From: danipiza Date: Mon, 21 Jul 2025 14:20:03 +0200 Subject: [PATCH 1/2] [#23483] Added cmake-arg 'USE_PYTHON_STABLE_ABI' Signed-off-by: danipiza --- docs/installation/configuration/cmake_options.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/installation/configuration/cmake_options.rst b/docs/installation/configuration/cmake_options.rst index 10ceee90d..8e1679370 100644 --- a/docs/installation/configuration/cmake_options.rst +++ b/docs/installation/configuration/cmake_options.rst @@ -154,6 +154,15 @@ dependency on other options. - ``OFF`` |br| ``Address`` |br| ``Thread`` - ``OFF`` + * - :class:`USE_PYTHON_STABLE_ABI` + - Enables building a Python extension module using the Stable ABI (Application Binary Interface), + allowing the resulting binary to be used across multiple Python 3 minor versions without recompilation. + + When is enabled, the extension is compatible with all newer (>= 3.9) Python 3.x interpreters + (e.g.: A module built for Python 3.13 will work unmodified on 3.12, 3.11, etc.) + + - ``ON`` ``OFF`` + - ``OFF`` .. _POSIX: https://man7.org/linux/man-pages/man3/pthread_rwlockattr_setkind_np.3.html @@ -347,4 +356,4 @@ The building and execution of these tests is specified by the *Fast DDS* CMake o - Android cross-compilation only. Path on the Android device/emulator to use for installing and running the tests. - ``Valid Unix filesystem path string`` - - ``""`` + - ``""`` \ No newline at end of file From f5c06896a1b002312b510b4ae173d0ff2f5046a2 Mon Sep 17 00:00:00 2001 From: danipiza Date: Wed, 30 Jul 2025 07:56:01 +0200 Subject: [PATCH 2/2] [#23483] Added new 'Python Binding' sub-section in cmake options Signed-off-by: danipiza --- .../configuration/cmake_options.rst | 33 +++++++++++++------ 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/docs/installation/configuration/cmake_options.rst b/docs/installation/configuration/cmake_options.rst index 8e1679370..cddf20d6f 100644 --- a/docs/installation/configuration/cmake_options.rst +++ b/docs/installation/configuration/cmake_options.rst @@ -154,15 +154,6 @@ dependency on other options. - ``OFF`` |br| ``Address`` |br| ``Thread`` - ``OFF`` - * - :class:`USE_PYTHON_STABLE_ABI` - - Enables building a Python extension module using the Stable ABI (Application Binary Interface), - allowing the resulting binary to be used across multiple Python 3 minor versions without recompilation. - - When is enabled, the extension is compatible with all newer (>= 3.9) Python 3.x interpreters - (e.g.: A module built for Python 3.13 will work unmodified on 3.12, 3.11, etc.) - - - ``ON`` ``OFF`` - - ``OFF`` .. _POSIX: https://man7.org/linux/man-pages/man3/pthread_rwlockattr_setkind_np.3.html @@ -356,4 +347,26 @@ The building and execution of these tests is specified by the *Fast DDS* CMake o - Android cross-compilation only. Path on the Android device/emulator to use for installing and running the tests. - ``Valid Unix filesystem path string`` - - ``""`` \ No newline at end of file + - ``""`` + +Python-Binding +^^^^^^^^^^^^^^ + +The *Fast DDS Python-Binding* CMake options are shown below, together with their description and values. + +.. list-table:: + :header-rows: 1 + + * - Option + - Description + - Possible values + - Default + * - :class:`USE_PYTHON_STABLE_ABI` + - Enables building a Python extension module using the Stable ABI (Application Binary Interface), + allowing the resulting binary to be used across multiple Python 3 minor versions without recompilation. + + When is enabled, the extension is compatible with all newer (>= 3.9) Python 3.x interpreters + (e.g.: A module built for Python 3.13 will work unmodified on 3.12, 3.11, etc.) + + - ``ON`` ``OFF`` + - ``OFF`` \ No newline at end of file