summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Set version to 3.11.0.gitv3.11.0.0gitJeff Long2022-01-151-2/+2
| | | | Signed-off-by: Jeff Long <willcode4@gmail.com>
* Release v3.10.0.0v3.10.0.0Josh Morman2022-01-141-1/+1
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* Release v3.10.0.0-rc4v3.10.0.0-rc4Josh Morman2022-01-111-1/+1
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* cmake: Repair build order dependencies.Ron Economos2022-01-091-4/+6
| | | | Signed-off-by: Ron Economos <w6rz@comcast.net>
* Release v3.10.0.0-rc3v3.10.0.0-rc3Josh Morman2022-01-081-1/+1
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* cmake: build python deps conditionallyJosh Morman2022-01-061-4/+9
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* cmake: replace deprecated distutilsVolker Schroer2021-12-201-0/+15
| | | | | | | | | | | * gnuradio: replace deprecated distutils Check if python packaging is available Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com> * Add packaging requirement Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* Release v3.10.0.0-rc2v3.10.0.0-rc2Josh Morman2021-12-111-1/+1
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* cmake: Maintain compiler settings at one point. Volker Schroer2021-12-101-94/+4
| | | | | | * cmake: Maintain compiler settings at one point. Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* Release Candidate 3.10.0.0-rc1v3.10.0.0-rc1Josh Morman2021-11-271-1/+1
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* cmake: bump dependency versionsJosh Morman2021-11-241-6/+6
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* logging core: replace log4cpp by spdlogMarcus Müller2021-11-191-5/+0
| | | | | | | | also: enable formerly disabled qa_logger tests This replaces log4cpp with spdlog. Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* cmake: version check for pygccxmlJosh Morman2021-11-031-3/+12
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* Soapy: Make sure target uses expected C++ standardMarcus Müller2021-10-271-0/+2
| | | | | | | | | | This is a guess, but it seems SoapySDR was exporting its C++ standard (C++11). This led to problems when using C++17 features in gr-soapy Signed-off-by: Marcus Müller <mmueller@gnuradio.org> (cherry picked from commit 79d7e06e40513f2f15d904d5d7dbd323aadc8767) Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* cmake: include GrBoost after (was before) version restrictionJeff Long2021-09-191-8/+9
| | | | | Fix provided in issue by jwmelto Signed-off-by: Jeff Long <willcode4@gmail.com>
* cmake: Use preferred method to find PkgConfig.Ron Economos2021-09-121-1/+0
| | | | Signed-off-by: Ron Economos <w6rz@comcast.net>
* grc/cmake: Improve pyyaml checkMartin Braun2021-08-231-1/+0
| | | | | | The check checked for one version and reported another. Signed-off-by: Martin Braun <martin@gnuradio.org>
* cmake: Remove absolute paths and private links from exported targets.Ryan Volz2021-06-251-8/+0
| | | | | | | | | | | | | | | | | | | | This transitions to using Python::NumPy, pybind11::pybind11, and libunwind::libunwind targets for building with the include directories/libraries of NumPy, pybind11, and libunwind. The Python::NumPy target matches what is available with the FindPython module in CMake 3.14+ (and can be transitioned to such when the minimum CMake version is past that). These changes have the effect of cleaning up the include_directory paths added to the gnuradio-runtime target so that no absolute paths are used, which is helpful for relocatable installations (e.g. conda). Part of this change involves moving some link targets to PRIVATE since they are not actually part of the public interface. In the case of the python bindings, these are not exported and have no public interface for consumption by other C++ libraries, so the switch from PUBLIC to PRIVATE has no practical effect but could still help avoid future confusion. Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
* feature: gr-iioAdam Horden2021-06-041-0/+1
| | | | | | Co-authored-by: Edward Kigwana <ekigwana@scires.com> Co-authored-by: Travis Collins <travis.collins@analog.com> Signed-off-by: Adam Horden <adam.horden@horden.engineering>
* runtime: ctrlport: cmake: Fix thrift dependency for OOTs.Ryan Volz2021-06-011-2/+2
| | | | | | | | | | | | | | | | | | | First, this moves find_package(THRIFT) up to the gnuradio-runtime CMakeLists.txt so that cache variables no longer have to be used to mark the found components. This fixes an issue where the thrift-specific headers were not installed even when thrift was enabled, because on first run the detection was occurring AFTER the runtime include CMakeLists.txt was evaluated. See further discussion in #2734, which solved one issue related to this setup. Further, even with thrift enabled, the thrift headers are not required for OOTs to build against gnuradio-runtime. OOTs would need to take special action to use those headers, in which case they should detect/enable thrift on their own. Thus, this makes the change to not add thrift as an extra dependency for OOTs and switches linking of Thrift::thrift from PUBLIC to PRIVATE. Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
* soapy: add module gr-soapyJeff Long2021-05-031-0/+1
| | | | Signed-off-by: Jeff Long <willcode4@gmail.com>
* cmake: Move swath of add_definitions to gnuradio-runtime target.Ryan Volz2021-04-171-22/+0
| | | | | | | | | | Besides being a more modern CMake style, this has the benefit of propagating the public definitions to any consumers of the gnuradio-runtime library, which includes OOT modules. For example, OOT modules would previously have to know to define "NOMINMAX" on MSVC, but now that happens transitively. Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
* cmake: Repair gnuradio-config-info for --enabled-components.Ron Economos2021-03-251-0/+7
| | | | Signed-off-by: Ron Economos <w6rz@comcast.net>
* gr-pdu: initial commit with the PDU moduleJacob Gilbert2021-03-181-0/+1
| | | | | | | There is only one simple block in here for now, and there are probably some doxygen issues but it builds and tests properly. Signed-off-by: Jacob Gilbert <jacob.gilbert@protonmail.com>
* cmake: Format numpy include path in CMake style for consistency.Ryan Volz2021-03-121-0/+3
| | | | | | | | | | GNU Radio builds done with conda do path subsitution to replace the build prefix with the installed prefix, but it struggles when multiple path separator styles are used in the same file. This makes it so that all of the paths that would be subsitituted use the same style (forward slash separators) so that build prefix replacement happens correctly. Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
* cmake: Fix Boost unit test framework component availability variableVasilis Tsiligiannis2021-03-031-2/+2
| | | | | | | | | This fix enables back 'testing-support' component which has been disabled by a regression introduced on a3061b8f. It also removes a variable override included in 'Make Test' GitHub workflow to workaround this issue. Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
* MSVC: get rid of unused workaround headersMarcus Müller2021-02-231-1/+0
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* cmake: Thrift min version is set at top levelMartin Braun2021-02-181-1/+2
| | | | | | | - Modifies top-level CMake to set the min Thrift version - Modifies FindThrift.cmake to use a version argument Signed-off-by: Martin Braun <martin@gnuradio.org>
* Bring man pages in-tree from project gnuradio/pkg_gnuradioDavid Pi2021-01-241-0/+6
| | | | | | | | | | | | | | - Move BUILD_DATE to top CMakeLists so it's available in other modules. Add Z suffix to indicate UTC. - Add a BUILD_DATE_SHORT with just yyy-mm-dd more appropriate for man pages - Put man pages in man/docs and give them a .in extension - Replace version and date placeholders at cmake configure time - Improve gnuradio-companion man page, expanding description and updating options - Remove help2man generated man pages, and man pages for non-existent commands Signed-off-by: David Pi <david.pinho@gmail.com>
* runtime: lib: Don't use hard-coded absolute path constants.Ryan Volz2021-01-211-6/+14
| | | | | | | | | | | | | | | | This replaces the path constants for the prefix, system configuration, and preferences directories with a runtime prefix lookup based on the gnuradio-runtime library location and relative paths from that. Boost >= 1.61 is required, but this is now compatible with the minimum version required by GNU Radio overall. Also use cmake-style paths instead of native paths for substitution to avoid unescaped character problems. Windows is able to use the forward-slash paths just fine, and this also has external benefits (e.g. conda will do path replacement during installation and it substitutes forward-slash paths, so this avoids mixed-slash paths). Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
* Set C++ standard to C++17Marcus Müller2021-01-181-2/+2
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* Bump dependency versions to match these of 3.9; might increase furtherMarcus Müller2021-01-161-10/+11
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* cmake: Fixup BUILD_DATE commit.Ron Economos2021-01-141-10/+0
| | | | Signed-off-by: Ron Economos <w6rz@comcast.net>
* cmake: use TIMESTAMP function for build date and generate constants onceAndrej Rode2021-01-141-6/+9
| | | | | | | | | | | | | Previously a a custom python command was used to generate the build date but this can be done with native CMake functions for all supported CMake versions. Additionally it's compatible with reproducible builds since CMake 3.8 as it honors SOURCE_DATE_EPOCH set in the environment varibales. Thanks to Sebastian Koslowski for pointing out the right way in CMake. Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* CMakeList: master now targets 3.10v3.10.0.0gitMarcus Müller2020-12-201-1/+1
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* cmake: Set VERSION_PATH to be only "git", fixing RC_MAINT_VERSION.Ryan Volz2020-12-181-1/+1
|
* Set C_STANDARD to 11 (highest valid value)Josh Morman2020-12-171-1/+1
|
* Bump the C++ standard version to C++14Marcus Müller2020-12-171-5/+5
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* Set minimum CMake version variable to what CMake demands anywayMarcus Müller2020-12-171-1/+1
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* Do not disable boost, if only the unit_test_framework is missingVolker Schroer2020-12-031-6/+8
|
* cppgen: Update to modern CMakeHåkon Vågsether2020-11-071-0/+1
|
* cmake: remove check for six moduleClayton Smith2020-10-201-2/+0
|
* cmake: Remove "find_package_handle_standard_args" warnings.Ron Economos2020-10-011-0/+1
|
* add an option to enable/disable examplesGwenhael Goavec-Merou2020-09-021-0/+4
|
* boost: increase minimum version to 1.58 for boost/endianmormj2020-08-191-1/+1
|
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-031-1/+1
| | | | | | | | | | | | | | | | All of the removed `from __future__ import` were needed in older versions of Python (mostly 2.5.x and below) but later became mandatory in most versions of Python 3 hence are not necessary anymore. More specifically, according to __future__.py[1]: - unicode_literals is part of Python since versions 2.6.0 and 3.0.0; - print_function is part of Python since versions 2.6.0 and 3.0.0; - absolute_import is part of Python since versions 2.5.0 and 3.0.0; - division is part of Python since versions 2.2.0 and 3.0.0; Get rid of those unnecessary imports to slightly clean up the codebase. [1] https://github.com/python/cpython/blob/master/Lib/__future__.py
* modtool: Run all generated C++ code through clang-formatThomas Habets2020-07-141-0/+6
|
* issue 1687: resolution:gateship12020-06-221-18/+0
| | | | | | removed if(POLICY CMP0026), if(POLICY CMP0043), if(POLICY CMP0045), > if(POLICY CMP0046)). Compiles cleanly using Ubuntu 18.04.4 LTS > with both CMake version 3.8 and 3.13.4.
* cmake: Remove FindSWIG from modules and don't check for itAndrej Rode2020-06-201-2/+1
| | | | | Remove the FindSWIG module and don't check for SWIG in the main CMakeLists
* pybind: add hash check to binding file creation (#3472)mormj2020-06-041-0/+7
|