summaryrefslogtreecommitdiff
path: root/cmake
Commit message (Collapse)AuthorAgeFilesLines
* newmod: update templates for new target syntaxAndrej Rode2019-03-041-3/+3
|
* cmake: Update to modern CMake usageAndrej Rode2019-03-0422-562/+876
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes using target based setting of includes and link libraries. This will transitively add the includes and linking flags to dependent targets. This is still a work in progress since only the dynamic libraries have been touched and not all of include_directories directives are gone yet. cmake: remove GR_INCLUDE_SUBDIRECTORY macro Previously this macro was used to inject subdirectories in the current CMake namespace. This is generally undesired and pollutes the current context. previously GNU Radio CMake had a non-default option ENABLE_STATIC_LIBS to build both, shared libraries and static libraries. This seems to be a construction taken over from autotools and serves no purpuose in CMake and complicates the library building. cmake: remove GR_LIBTOOL and la generation support This looks like it was primarily used to support projects using autotools, but comments state that the generated .la files aren't compatible with autotools anyway. cmake: Bump required CMake version to 3.8 UseSWIG cmake uses syntax which requires at least CMake 3.8 and is non-trivial to change
* cmake: Remove unused FindUSB.cmake moduleMartin Braun2019-01-081-29/+0
|
* cmake: FindQwt: Allow pkg-config to set the library nameMartin Braun2018-11-271-1/+1
| | | | | | | Currently, the library name is hard-coded to qwt-qt5 to force disambiguation from the Qt4 version. However, when pkg-config is invoked, other package names (e.g. qwt) are also permissable, since we trust pkg-config to not point us to a Qt4 version of Qwt.
* qtgui: Disallow use of Qt4Martin Braun2018-11-152-156/+2
| | | | | | Qt5 is now required. Note that many applications and examples requiring Qt are currently broken, this does not fix any of them, it just sets up our CMake environment so we can start fixing them.
* cmake: qwt: Only allow qwt-qt5 as a library nameMartin Braun2018-11-151-1/+1
| | | | | | | | | | | | | The only way to be sure that FindQwt.cmake is finding the Qt5 version of Qwt is to either - limit the name to qwt-qt5 or - have the user specify it when running CMake. The latter is unimpeded by this change. However, by default, it'll now skip libqwt.so on Fedora and Ubuntu systems, which is actually only a valid library when using Qt4, not Qt5. Fixes #2027.
* cmake: Make FindQwt use pkg-configMartin Braun2018-11-131-0/+3
| | | | | | Note: This assumes the PC file is called Qt5Qwt6 for the Qt5 version of Qwt, which is true on F28. Ubuntu, as yet, does not ship a pkg-config file.
* cmake: Add Fedora 28 paths for Qwt/Qt5Martin Braun2018-11-131-0/+1
| | | | | Fedora installs Qwt headers into /usr/include/qt5/qwt, which was not listed as a hint, and finding Qwt would fail on that distro.
* Use raw strings for regexp and docstrings that have desired backslashesBrennan Ashton2018-11-121-2/+2
| | | | Resolves #2121 DeprecationWarning: invalid escape sequence /
* cmake: Fix coverage buildtype to use -lgcov for linkingAndrej Rode2018-11-092-27/+4
|
* Revert "cmake: fix finding Python packages' installation directory"Marcus Müller2018-11-011-6/+6
| | | | | | This reverts commit 0d6aa71a114a2d2c6be95bc59c45a621bf053c82. That commit broke the ability to use CMAKE_INSTALL_PREFIX.
* cmake: fix finding Python packages' installation directorykarel2018-11-011-6/+6
| | | | | | | Removes the hard-coded 'dist-packages' because it's Debian specific and leads to problems on distributions which use 'site-packages' (e.g. Arch and Gentoo). This commit still retains the current behavior in virtual environments without 'getsitepackages'.
* cmake: Remove old 'additional' Boost versions from GrBoost.cmakeMartin Braun2018-11-011-2/+1
|
* cmake: adhere to the new behaviour of CMP0026 policyAndrej Rode2018-10-282-10/+5
| | | | | | Previously the LOCATION property was used in several places through the tree. The Generator Syntax $<TARGET_FILE:tgt> has to be used now instead. This helps cmake figuring out the right file path.
* cmake: Remove superfluous code for old SWIGMartin Braun2018-10-121-31/+0
| | | | | | We had a hack for working around a bug in old SWIG, but old SWIG is no longer supported. We now require SWIG 3.0 and the bug only happened in pre-3.0.
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-3133-1679/+263
|\
| * Killing gengen: Merge branch 'cxx_templates_next' into nextMarcus Müller2018-08-291-173/+0
| |\
| | * cmake: remove gengen toolsAndrej Rode2018-08-261-173/+0
| | |
| * | Get rid of MSVC impl of gettimeofday that's used nowhereMarcus Müller2018-08-261-56/+2
| |/ | | | | | | | | | | and is of unknown origin and quality. Closes #1594.
| * Merge branch 'python3_fix' into nextAndrej Rode2018-06-244-60/+129
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manual merge conflict resolution has been applied to following conflicts: * Typos: * gnuradio-runtime/python/gnuradio/ctrlport/GrDataPlotter.py * gr-blocks/python/blocks/qa_wavfile.py * gr-filter/examples/gr_filtdes_api.py * grc/blocks/parameter.xml * gr-uhd/python/uhd/__init__.py * ValueError -> RuntimeError: * gr-blocks/python/blocks/qa_hier_block2.py * relative Imports & other Py3k: * gr-digital/python/digital/psk_constellations.py * gr-digital/python/digital/qam_constellations.py * gr-digital/python/digital/test_soft_decisions.py * gr-digital/python/digital/gfsk.py * SequenceCompleter: * gr-utils/python/modtool/modtool_add.py * gr-utils/python/modtool/modtool_rename.py * gr-utils/python/modtool/modtool_rm.py * Updated API on next: * gr-blocks/grc/blocks_file_source.xml * gr-blocks/python/blocks/qa_file_source_sink.py * gr-qtgui/grc/qtgui_time_sink_x.xml * GRC Py3k Updates: * grc/core/Block.py * grc/core/Constants.py * grc/core/Platform.py * grc/core/utils/odict.py * grc/gui/Actions.py * grc/gui/Block.py * grc/gui/Executor.py * grc/gui/Port.py
| | * grc: hide ImportError for dep checks in cmakeSebastian Koslowski2017-11-081-0/+1
| | |
| | * Merge branch 'next' into python3Johnathan Corgan2017-09-221-0/+69
| | |\
| | * \ Merge branch 'next' into python3Johnathan Corgan2017-09-211-0/+7
| | |\ \
| | * \ \ Merge branch 'next' into python3Johnathan Corgan2017-05-013-2/+229
| | |\ \ \
| | * \ \ \ Merge branch 'next' into python3Johnathan Corgan2017-04-231-3/+0
| | |\ \ \ \
| | * \ \ \ \ Merge branch 'next' into python3Johnathan Corgan2017-04-171-1/+1
| | |\ \ \ \ \
| | * | | | | | Use GR_*_MIN_VERSION cmake variables from PR #1215Douglas Anderson2017-04-031-2/+2
| | | | | | | |
| | * | | | | | modify GR_PYTHON_DIR code to handle prefixDouglas Anderson2017-04-031-2/+6
| | | | | | | |
| | * | | | | | Merge branch 'next' into python3Johnathan Corgan2017-03-261-3/+1
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: CMakeLists.txt
| | * \ \ \ \ \ \ Merge branch 'next' into python3Johnathan Corgan2017-03-222-4/+1
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cmake/Modules/GrSwig.cmake
| | * \ \ \ \ \ \ \ Merge branch 'next' into python3Johnathan Corgan2017-03-162-4/+4
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gr-blocks/swig/blocks_swig.py.in gr-uhd/apps/uhd_app.py
| | * \ \ \ \ \ \ \ \ Merge branch 'gtk3' into python3Sebastian Koslowski2017-03-091-12/+92
| | |\ \ \ \ \ \ \ \ \
| | | * | | | | | | | | grc: gtk3: update cmake requirementsSebastian Koslowski2017-01-231-11/+17
| | | | | | | | | | | |
| | | * | | | | | | | | cmake: add DIRECTORY support to GR_PYTHON_INSTALL and use it for grcSebastian Koslowski2017-01-191-2/+76
| | | | | | | | | | | |
| | * | | | | | | | | | python3: update non-GRC components to use python2 or python3Douglas Anderson2017-02-264-48/+33
| | | | | | | | | | | |
| * | | | | | | | | | | Merge branch 'master' into nextMartin Braun2018-02-036-9/+9
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | |
| * | | | | | | | | | | Merge branch 'master' into nextJohnathan Corgan2017-09-221-0/+69
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | |
| * | | | | | | | | | | cmake: Fix for CppUnit and C++11Michael Dickens2017-08-161-0/+7
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | If CppUnit version >= 1.14.0, try to switch to C++11. Otherwise, use C++98 as before. Requires that FindCppUnit return the CppUnit version if found.
| * | | | | | | | | | | Merge branch 'master' into nextJohnathan Corgan2017-05-013-2/+229
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | |
| * | | | | | | | | | | docs: fix stray references to pager, fcd, and noaaJohnathan Corgan2017-04-181-3/+0
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | |
| * | | | | | | | | | Merge branch 'master' into nextJohnathan Corgan2017-04-171-1/+1
| |\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | |
| * | | | | | | | | | Merge branch 'min_deps_master' into min_deps_nextMartin Braun2017-03-261-3/+1
| |\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | |
| * | | | | | | | | | Merge branch 'master' into nextJohnathan Corgan2017-03-222-3/+1
| |\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gr-wxgui/lib/CMakeLists.txt
| * | | | | | | | | | Merge branch 'master' into nextJohnathan Corgan2017-03-151-2/+2
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into nextJohnathan Corgan2017-03-151-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | |
| * | | | | | | | | | | Merge branch 'master' into nextJohnathan Corgan2017-02-125-615/+5
| |\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into nextJohnathan Corgan2017-01-261-1/+6
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | |
| * | | | | | | | | | | | Merge branch 'master' into nextJohnathan Corgan2016-12-131-2/+17
| |\ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ Merge remote-tracking branch 'bastibl/cmake-qwt-fix' into nextJohnathan Corgan2016-11-111-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | cmake: qwt prefere correct versionBastian Bloessl2016-11-111-1/+1
| | | | | | | | | | | | | | |