uhd/host/examples/init_usrp
Martin Braun ae5211d71d uhd: Update license headers
All copyright is now attributed to "Ettus Research, a National
Instruments company".

SPDX headers were also updated to latest version 3.0.
2018-02-19 16:54:52 -08:00
..
.gitignore examples: Updated init_usrp example on note about CMake flags 2015-06-09 15:08:21 -07:00
CMakeLists.txt uhd: Update license headers 2018-02-19 16:54:52 -08:00
init_usrp.cpp uhd: Update license headers 2018-02-19 16:54:52 -08:00
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.