aboutsummaryrefslogtreecommitdiffstats
path: root/host/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* cmake: add UHDBoost.cmake and use it for building UHDMichael Dickens2019-10-151-40/+9
| | | | | | | | | Also install UHDBoost.cmake along with the CMake UHD find scripts, so that it can be used by external modules. Tweak the UHDConfig.cmake script so that, once installed, the new UHDBoost.cmake script is found. Note that the project using UHD must first find UHD before trying to find Boost. Also note that if the C++ standard is not set before UHDBoost is loaded, it will be set to that currently used by UHD: C++14.
* cmake: allow setting of PKG_DOC_DIR from the CMake commandlineMichael Dickens2019-10-091-1/+3
|
* cmake: Remove ENABLE_PYTHON3 flag and simplify Python detectionMartin Braun2019-05-241-28/+5
| | | | | | - Makes use of more modern find_package(Python2/3) if available - Moves almost all Python-related code to UHDPython.cmake - ENABLE_PYTHON3 is no longer necessary
* cmake: Change default value for ENABLE_RFNOC to ONMartin Braun2019-05-231-1/+1
| | | | | | | | | This means that by default: - Symbols get exported - Headers get installed - Examples get compiled The switch still exists and can be disabled.
* docs: Auto-generate build page with min deps versionsMartin Braun2019-04-241-0/+1
| | | | | | The build guide manual page now takes the min versions for the dependencies straight from CMake. This avoids having to update the manual whenever we bump depdendencies.
* cmake: Bump dependency min versionsMartin Braun2019-04-241-26/+21
| | | | | | | | | | - gcc >= 4.8 (same as before) - Clang >= 3.8 - CMake >= 3.5.1 - Boost >= 1.58 Note: This also removes version-specific hacks for older CMake versions. Now that we require 3.5.1 they are no longer necessary.
* lib: cmake: Fix MSVC options (add /bigobj)Trung Tran2019-02-251-1/+1
| | | | | | | | | MP and bigobj should be at compile options level instead of compile_flags(which are at target properties level). We have been setting these options incorrectly. They are currently not applied to any project. Signed-off-by: Trung Tran <trung.tran@ettus.com>
* python: Replace Boost.Python with PyBind11Martin Braun2019-02-221-18/+7
| | | | | | This does not change the Python API itself, but it is still a significant change. Most importantly, it removes the dependency on Boost.Python.
* cmake: Extend list of additional Boost versionsMartin Braun2019-01-221-0/+1
|
* cmake: use "MATCHES" instead of "STREQUAL" for "Clang"Michael Dickens2018-12-071-3/+3
| | | | + allows proper building with both AppleClang and native Clang.
* cmake: Improve logic for UHD_IMAGES_DIRA. Maitland Bottoms2018-11-151-2/+0
| | | | | A CMake option is either On or Off. UHD_IMAGES_DIR gets a sane default if not specified on the CMake command line.
* cmake: Update coding style to use lowercase commandsMartin Braun2018-11-141-329/+329
| | | | | | | | | | | | | | | | | Also updates our coding style file. Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code (with GNU compliant sed): cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done > convert.sed \ && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' \ '*CMakeLists.txt' | xargs -0 gsed -i -f convert.sed && rm convert.sed (Make sure the backslashes don't get mangled!)
* cmake: Bump CMake minimum version to 2.8.12Martin Braun2018-10-241-2/+2
| | | | | | This enables some interesting features we can now use in UHD, such as: - target_compile_options - add_compile_options
* python: Enable Python API on non-WindowsBrent Stapleton2018-08-011-1/+5
| | | | | | | | | On non-Windows platforms, enable the Python API by default in CMake. Enabling the Python API in Windows causes build failures- that is, we currently can't detect if the requirements are met in the Windows build system. Because of that, we'll leave it disabled by default for now.
* cmake: Fix version numberingMartin Braun2018-07-131-2/+2
| | | | | UHD-* branches were being detected as "development", and #cmakedefine does not like it when values are actually zero.
* python: Separating exposed Python data structuresPaul David2018-06-201-17/+37
| | | | | | | | | - Separating exposed Python data structures into logical sections - Exposes all of the multi_usrp API - Adds a layer of Python for documentation and adding helper methods - Adds improvements and fixes to the MultiUSRP object - Includes additional exposed data structures (like time_spec_t, etc.) - Add code to release the Python GIL during long C++ calls
* python: Initial commit of Python APIAndrej Rode2018-06-201-3/+30
| | | | | | | | | | Initial commit of the Python API using Boost.Python. Bind the MultiUSRP API for use in Python. Bindings intended to provide as complete coverage as possible. - Wrap most multi_usrp calls - Adding multi channel send/recv examples in examples/python - Adding setuptools support - Initial attempt at binding the UHD types and filters
* cmake: change minimium cmake version support to 2.8.2Trung Tran2018-06-121-1/+1
|
* cmake: Remove images downloader sectionMartin Braun2018-04-191-10/+0
| | | | This was replaced with the manifest.
* cmake: add manual override option to UHD_VERSIONAndrej Rode2018-03-071-0/+3
|
* lib: Add 'prefs' APIMartin Braun2018-02-201-1/+24
| | | | | | | | | | | | | This defines and reads configuration files that can be used to customize UHD's behaviour. On Unix systems, they default to: /etc/uhd/uhd.conf $APPDATA/.uhd/uhd.conf On Windows systems, it will look in: %ProgramData%/uhd/uhd.conf %AppData%/.uhd/uhd.conf
* uhd: Update license headersMartin Braun2018-02-191-0/+1
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* cmake: Re-add requirement for Python requestsBrent Stapleton2018-02-011-5/+5
| | | | Uncommenting a CMake check for the Python module requests.
* cmake: Check for minimum MSVC, bump MSVC min version to 14.0Martin Braun2018-01-171-7/+15
| | | | | | | - MSVC 14.0 is required to support a lot of the new C++11 features required for rpclib, among others. - Moved Boost minimum version variable to same spot as other minimum versions
* mpm/mpmd: Move to request_xport()/commit_xport() architectureMartin Braun2017-12-221-5/+5
| | | | | This commit combines code from various branches to finally enable both UDP and Liberio transports.
* cmake: Add extra flags to uhd project reduce Windows.h loadsTrung N Tran2017-12-221-0/+2
|
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* ddc/duc: enhance ddc/duc with new parametersRyan Marlow2017-12-201-2/+2
| | | | | | | | | | | | - NUM_HALFBANDS and CIC_MAX are no longer hard coded and are now readback regs. - both DDC and DUC use same encoding to enable halfbands (increment the number) - removed hacky hack & fixed get_output_rate/get_input_rate to include only valid rates based on NUM_HALFBANDS and CIC_MAX. - added compatibility number readback w/ warning/error messages - Updated images package to include new DDC/DUC (affects X-Series only) - Updated fpga-src submodule pointer
* Merge branch 'maint'Martin Braun2017-07-191-2/+2
|\
| * Preparing branch for 3.10.2.0 release.Martin Braun2017-07-181-2/+2
| | | | | | | | | | | | | | - Updated version string - Updated fpga-src submodule - Updated CHANGELOG - Updated images package
* | cmake: add coverage targetAndrej Rode2017-05-231-0/+6
| |
* | Merge branch 'maint'Martin Braun2017-04-061-2/+2
|\|
| * Updated FPGA images packages and fpga-src submodule pointerMartin Braun2017-04-031-2/+2
| | | | | | | | - Main fix: X3x0 output FIFO size
* | Merge branch 'maint'Martin Braun2017-03-241-2/+2
|\|
| * msvc build: set compile_flags instead of add_definitionsMark Meserve2017-03-211-2/+2
| |
* | utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-0/+1
| |
* | Merge branch 'maint'Martin Braun2017-02-101-2/+2
|\|
| * uhd: Updated images package with x3x0 changesDerek Kozel2017-02-021-2/+2
| |
* | Merge branch 'maint'Martin Braun2017-01-301-2/+2
|\|
| * Final changes for 3.10.1.1 release.Derek Kozel2017-01-271-2/+2
| | | | | | | | | | - Updated Debian CHANGELOG - Updated images package
* | Merge branch 'maint'Martin Braun2017-01-171-4/+3
|\|
| * cmake: add -lthr linker flag for FreeBSD executablesAndrej Rode2017-01-131-0/+3
| |
| * Preparing branch for 3.10.1.1 release.Martin Braun2017-01-121-2/+2
| | | | | | | | | | | | | | - Updated version string - Updated fpga-src submodule - Updated CHANGELOG - Updated images package
| * cmake: Added Boost 1.61 to list of versionsMartin Braun2017-01-061-1/+1
| |
* | Merge branch 'maint'Martin Braun2016-12-131-2/+2
|\|
| * x300: Updated FPGA images to include 214 MHz changeMartin Braun2016-12-131-2/+2
| | | | | | | | | | - Updated submodule pointer - Updated images package
* | cmake: add -lthr linker flag and libc++ compiler flag to FreeBSDAndrej Rode2016-12-011-0/+4
| |
* | cmake: set c++11 flags in gcc and clangAndrej Rode2016-11-221-2/+18
|/ | | | | | | This will enable all C++11 features that are available on all currently supported compilers. Reviewed-By: Martin Braun <martin.braun@ettus.com>
* Preparing branch for 3.10.1.0 releaseDerek Kozel2016-11-021-2/+2
| | | | | - Updated CHANGELOG - Updated images package
* Preparing branch for 3.10.1.0 releaseDerek Kozel2016-10-271-2/+2
| | | | | | - Updated CHANGELOG - Updated fpga-src submodule pointer - Updated images package