summaryrefslogtreecommitdiff
path: root/cmake
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Add option for Boost UTF-based C++ unit testsMartin Braun2018-06-212-0/+24
|
* Release 3.7.12.0. Change to semver 3.7.12.0.v3.7.12.0Marcus Müller2018-03-301-5/+1
|
* gr-fec: define GSL_LDFLAGS for Win32gnieboer2018-03-221-0/+1
|
* Merge branch 'maint'Martin Braun2018-02-031-2/+2
|\
| * cmake: dont remove coverage fragmentsAndrej Rode2018-02-031-1/+1
| |
| * cmake: run coverage on failed tests & exclude swig generated code and qa_*Andrej Rode2018-02-031-1/+1
| |
* | Comment typo fixing.luz.paz2018-02-035-7/+7
| | | | | | | | Luzpaz went ahead and found typos using `codespell -q 3`.
* | Merge branch 'maint'Johnathan Corgan2017-09-221-0/+69
|\|
| * Merge remote-tracking branch 'github/pr/1447' into maintJohnathan Corgan2017-09-221-0/+69
| |\
| | * cmake: fix overloaded include_directories to work with CMake < 3.2.Michael Dickens2017-08-271-19/+18
| | | | | | | | | | | | | | | | | | "continue()" was introduced in CMake 3.2, which was released on March 11, 2015, which really wasn't that long ago. Remove use of this command to provide backward compatibility beyond 3.2.
| | * cmake: add CMake Overloads file and use it at the top levelMichael Dickens2017-08-271-0/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For now, the CMakeOverloads file just overloads the CMake function "include_directories", to make it a little smarter. When parsing the provided directories, the overloaded macro now checks to see whether each directory is in the SOURCE or BUILD, or neither. If so, then the directory is added BEFORE others, and if not, then AFTER. The keywords BEFORE and AFTER are ignored. In this manner, all internal directories will come before external directories, which allows builds to work even if a prior version of GNU Radio is already installed into the CMAKE_INSTALL_PREFIX (e.g., as is often found when building from source, such as in MacPorts). By adding this macro at the top-level CMakeLists.txt file, it overloads all uses of "include_directories" in any subdirectory. As noted in the file: Moving all include directories to either BEFORE (internal to source or build) or AFTER (external to source or build) will work in general. The primary time it could fail is when include ordering is required to find a specific version of a header when multiple of the same name are available in the various include directories. This situation would be poor header naming practice, and is unlikely to occur in real life. As it does not occur in GNU Radio, so we ignore it.
| * | Merge remote-tracking branch 'github/pr/1424' into maintJohnathan Corgan2017-09-211-0/+7
| |\ \ | | |/ | |/|
| * | cmake: remove duplicate swig includesBastian Bloessl2017-07-132-3/+1
| | |
* | | 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.
| * | cmake: Fix for CppUnit and C++11Michael Dickens2017-08-141-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 'maint'Johnathan Corgan2017-05-013-2/+229
|\ \ \ | | |/ | |/|
| * | cmake: add Coverage target and CMake module to generate coverage dataAndrej Rode2017-04-293-2/+229
| |/
* | runtime: turn off spurious SWIG warning about selfJohnathan Corgan2017-04-171-1/+1
| |
* | docs: Add markdown styling to READMEmhostetter2017-04-111-3/+3
| |
* | cmake/docs: Move min versions into a single spot, put them all into varsMartin Braun2017-03-261-3/+1
| | | | | | | | | | - Autogen docs appropriately - Make it easier to maintain min versions
* | cmake: remove duplicate swig includesBastian Bloessl2017-03-222-3/+1
| |
* | Merge remote-tracking branch 'gnuradio-github/pr/1224'Johnathan Corgan2017-03-151-2/+2
|\ \
| * | Bumped SWIG minimal SWIG version to 2.0.4Marcus Müller2017-03-101-2/+2
| |/
* / Modified add_custom_command to not try to execute ""Marcus Müller2017-02-151-2/+2
|/ | | | | | | former custom command called ""; this works fine on build systems were this is expanded by shell, but fails on some of my systems where add_custom_command's COMMAND parameter is directly executed (because there's no executable "").
* cmake: removed stdint, inttypes, stdbool compat headersJosh Blum2017-01-303-597/+0
| | | | | These files are present in MSVC 2013 and up. Presumably we do not build with versions lower.
* cmake: updates to msvc config.hJosh Blum2017-01-302-18/+5
| | | | | | | * Remove copies of math constants and add _USE_MATH_DEFINES to windows definitions. This should work for all MSVC versions * Version specific ifdef for the INFINITY macro (present in msvc 2013 and up) * Version specific ifdef for struct timespec (present in msvc 2015 and up)
* Use -undefined dynamic_lookup linkage for python on macoskolen2017-01-261-1/+6
|
* cmake: atomic and chrono for BOOST_REQUIRED_COMPONENTSJosh Blum2016-12-121-2/+17
| | | | | | Conditional inclusion of atomic and chrono so that they will be linked under windows, but not bump the minimum boost for other platforms.
* Add config check for Xrand48() functionsPaul Cercueil2016-11-111-3/+0
| | | | | | | This fixes some compile errors under MinGW, which does not provide those functions. Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
* CMake: Fix math macros not available on MinGWPaul Cercueil2016-11-111-1/+0
| | | | Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
* CMake: GrBoost: Remove old workaroundPaul Cercueil2016-11-111-6/+1
| | | | | | | | With recent versions of mingw-w64, or maybe with recent versions of Boost, the 'thread' component of Boost correctly points to the Win32 variant when building under MinGW. Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
* Use CMAKE_INSTALL_LIBDIR to set LIB_SUFFIX.Philip Balister2016-10-251-0/+8
| | | | | | | OpenEmbedded sets this variable for builds, so use it to figure out if the build should install into the lib64 directories. Signed-off-by: Philip Balister <philip@balister.org>
* Merge remote-tracking branch 'josh/3710_win_fixes' into maintJohnathan Corgan2016-08-161-0/+3
|\
| * add srand/drand48() to msvc/config.hJosh Blum2016-08-061-0/+3
| | | | | | | | These functions are used in test_tag_variable_rate_ff_impl.cc
* | cmake: fix for when tree is git but git describe failsNicholas Corgan2016-08-011-7/+14
|/
* Merge branch 'maint'Johnathan Corgan2016-05-311-1/+7
|\
| * Revert "cmake: Fix warning related to GrSetupQt4 in modern CMake"Johnathan Corgan2016-05-311-1/+7
| | | | | | | | This reverts commit a62eea47e38313ebabe787d4b972b0bbb3af9ada.
* | Merge branch 'maint'Johnathan Corgan2016-05-304-3/+17
|\| | | | | | | | | Conflicts: CMakeLists.txt
| * cmake: Windows-specific fixes for compatibilityPaul Cercueil2016-05-302-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Properly wrap the prefix variables in quotation marks. This allows to set an empty prefix. * Fix library names when compiling for Windows. This now also works when using mingw-w64. * Fix boost module name when compiling with mingw-w64 * Fix build under mingw-w64 * Fix config.h header to avoid macro redefinition * Remove duplicated Boost::thread entry in dependencies list
| * MSVC-specific changes for compatibilitygnieboer2016-05-302-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Changed gr-dtv cmake so SSE2 would be detected on both MSVC and GCC compilers * Removed addition of /O2 flag on MSVC builds as it conflicts with /RTC1 flag * Added detection of MSVC 14.0 and added additional filenames to library detection to cover what windows builds the dependencies as. * Additional name options were placed at end so as to not conflict with other builds. * Removed use of not() function and replaced with standard C syntax. The check for zero is to handle the edge case where the random numbers return zero and would cause a div/zero error two lines afterwards. * Add dwrite library for win32 builds for qtgui
* | CMake: Fix search paths for the Volk submodule in GnuradioConfig.cmakePaul Cercueil2016-05-191-0/+2
| | | | | | | | | | | | | | | | | | GnuradioConfig.cmake allows to find Volk as a submodule of GNU Radio. However, GNU Radio might have been built with an external libvolk; so, GnuradioConfig.cmake should search Volk in the installation prefix of GNU Radio, as well as in the installation prefix of the library. Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
* | CMake: Generate GnuradioConfig.cmake with a hardcoded install path hintPaul Cercueil2016-05-191-0/+2
| | | | | | | | | | | | | | | | This permits out-of-tree modules to properly find the headers and libraries of GNU Radio when GNU Radio was built with a prefix that differs from the expected paths. Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
* | Merge branch 'maint'Johnathan Corgan2016-05-161-0/+1
|\|
| * CMake: GRBoost: gnuradio-runtime depends on boost::regexPaul Cercueil2016-05-161-0/+1
| | | | | | | | Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
* | Merge branch 'maint'Johnathan Corgan2016-03-091-2/+2
|\|
| * CMake: Fix dummy command in UseSWIG.cmakePaul Cercueil2016-03-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Having the COMMAND parameter of the add_custom_command() function as an empty string only works on Linux when generating Makefiles. It did not work on Linux when using a different generator (in my case, Ninja), or when building under Visual Studio. This commit removes the empty string, and just don't specify any command. This will work on all system / build system couples possible. Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
* | Merge branch 'maint'Johnathan Corgan2016-02-211-1/+5
|\|
| * cmake: cmake should get native thrift binary when cross compiling.Tom Rondeau2016-02-161-1/+5
| |
* | cmake: when not release and no GIT_EXECUTABLE nad not .git directory in the ↵Michael Dickens2016-02-171-1/+7
|/ | | | archive, allow external overriding of version info via GR_GIT_COUNT and GR_GIT_HASH, similar to what UHD allows.
* cmake: Fixed bug in FindThrift.cmakeTom Rondeau2016-02-101-2/+1
| | | | | | pkg-config sets the variable INCLUDE_DIRS, not INCLUDE_DIR. Cmake wouldn't pick up the thrift package if installed in another prefix without this.