aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/Modules/UHDPython.cmake
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2024-01-26 16:57:20 +0100
committerAki Tomita <121511582+atomita-ni@users.noreply.github.com>2024-02-28 09:38:28 -0600
commit6f892f797a3e0ffd1042a0137cf683ff47e39403 (patch)
treea4c933ae70a59707c682373bdb3f172bb5ca9770 /host/cmake/Modules/UHDPython.cmake
parentpython: Make block_controller_factory_python.hpp public (diff)
downloaduhd-6f892f797a3e0ffd1042a0137cf683ff47e39403.tar.xz
uhd-6f892f797a3e0ffd1042a0137cf683ff47e39403.zip
examples: Add Python support to rfnoc-example
- Generate Pybind11 bindings for the C++ code - Generate a Python module (rfnoc_example) that can be imported and used - Add an example to show how the gain block affects dBFS readings
Diffstat (limited to 'host/cmake/Modules/UHDPython.cmake')
-rw-r--r--host/cmake/Modules/UHDPython.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/cmake/Modules/UHDPython.cmake b/host/cmake/Modules/UHDPython.cmake
index e53e63824..4fdacc243 100644
--- a/host/cmake/Modules/UHDPython.cmake
+++ b/host/cmake/Modules/UHDPython.cmake
@@ -5,6 +5,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
+# Note: When modifying this file, check if the changes also need to go into
+# host/examples/rfnoc-example/cmake/Modules/UHDPython.cmake.
if (POLICY CMP0094)
# See https://cmake.org/cmake/help/v3.15/policy/CMP0094.html