mirror of
https://github.com/saymrwulf/uhd.git
synced 2026-05-14 20:58:09 +00:00
This installs UHDPython.cmake to lib/uhd/, so that OOT RFNoC modules can use it (and don't have to use a version that ships with the OOT). This makes maintanance of that file a lot easier. Now that this file can (and should) be used outside of UHD, we "namespace" the macros and functions by prefacing them with 'UHD_' (e.g., there's now UHD_PYTHON_CHECK_MODULE). This file requires creating UHDMinDepVersions.cmake, which also gets installed. |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| CMakeLists.txt | ||
| init_usrp.cpp | ||
| README | ||
Building UHD Applications using CMake ===================================== This directory contains a tiny example of a UHD-based application. Unlike the other examples, it is completely independent of the UHD source tree and can be compiled from any path as long as UHD is currently installed on the current machine. To try it out, run these commands: $ mkdir build/ # Creates a new build directory $ cd build/ $ cmake .. $ make This will find the UHD libraries, and link and compile the example program. Include header directories and library names are automatically gathered. See the CMakeLists.txt file to figure out how to set up a build system.