| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Luzpaz went ahead and found typos using `codespell -q 3`.
|
|\| |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
"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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |\ \
| | |/
| |/| |
|
| | | |
|
|\ \ \
| | |/
| |/|
| | | |
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.
|
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| | |/
| |/| |
|
| |/ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
- Autogen docs appropriately
- Make it easier to maintain min versions
|
| | |
|
|\ \ |
|
| |/ |
|
|/
|
|
|
|
|
| |
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 "").
|
|
|
|
|
| |
These files are present in MSVC 2013 and up.
Presumably we do not build with versions lower.
|
|
|
|
|
|
|
| |
* 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)
|
| |
|
|
|
|
|
|
| |
Conditional inclusion of atomic and chrono
so that they will be linked under windows,
but not bump the minimum boost for other platforms.
|
|
|
|
|
|
|
| |
This fixes some compile errors under MinGW, which does not provide those
functions.
Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
|
|
|
|
| |
Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|\ |
|
| |
| |
| |
| | |
These functions are used in test_tag_variable_rate_ff_impl.cc
|
|/ |
|
|\ |
|
| |
| |
| |
| | |
This reverts commit a62eea47e38313ebabe787d4b972b0bbb3af9ada.
|
|\|
| |
| |
| |
| | |
Conflicts:
CMakeLists.txt
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\| |
|
| |
| |
| |
| | |
Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\| |
|
| | |
|
|/
|
|
| |
archive, allow external overriding of version info via GR_GIT_COUNT and GR_GIT_HASH, similar to what UHD allows.
|
|
|
|
|
|
| |
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.
|