Commit Graph

269 Commits

Author SHA1 Message Date
Carles Fernandez a1b06f747b
Add benchmarks of small code snippets 2020-06-21 21:10:22 +02:00
Carles Fernandez ae50ebbaa5
Prefer use of CMAKE_SOURCE_DIR 2020-06-13 21:15:47 +02:00
Carles Fernandez 34ebf384a5
Use parallel building for GPSTk and Protobuf 2020-06-13 14:01:35 +02:00
Carles Fernandez ee84f60fb4
Simplify CMake scripts 2020-06-13 10:56:49 +02:00
Carles Fernandez d029bf405b
Improve CMake scripts
Replace CMAKE_CURRENT_BINARY by CMAKE_BINARY_DIR
Remove include_directories() instance
Put the GPSTk install folder in its building folder instead of in its source folder
2020-06-13 10:25:28 +02:00
Carles Fernandez 0df4277d36
Unify criteria in target definitions, more informative names 2020-06-13 00:32:40 +02:00
Carles Fernandez d14e69ef5a
Do not pollute the source directory if the software is built from an out-of-source-tree directory
External sources and data are now always stored in a ./thirdparty folder under the building directory.

A copy of the generated binaries will be stored under gnss-sdr/install, if the building directory is inside the source tree, or in an ./install folder under the building directory if it is outside the source tree.
Fix a bug that broke compilation if the user configured the building without extra testing in a first instance, and then switched the testing buiding options to ON in a later build.

Fix extra test building if GPSTk was already installed and Boost >= 1.71
2020-06-12 20:51:26 +02:00
Carles Fernandez 836e074f98
Add building option ENABLE_STRIP to enable the generation of stripped binaries (without debgging information). Set to OFF by default 2020-06-10 17:22:03 +02:00
Carles Fernandez 5755e6ae8b
Fix FPGA test 2020-06-10 05:30:23 +02:00
Carles Fernandez 2a3d682f1f
Make use of target_sources(), make use of target propagation to reduce redundancy in dependencies, some fixes for Clang and CMake < 3.11. Use generic lambdas with auto 2020-06-08 20:04:01 +02:00
Carles Fernandez f731a7c0f1
Fix for Boost >= 1.73 in old compilers 2020-05-18 22:50:34 +02:00
Carles Fernandez 420db2dfd6
Use lambda instead of boost::build in tests 2020-04-26 09:11:48 +02:00
Carles Fernandez a75526d780
Use lambda instead of boost::build when genenic lambdas are available in the compiler 2020-04-25 23:03:44 +02:00
Carles Fernandez a49df87704
Robustify cross-compilation 2020-04-08 10:51:46 +02:00
Carles Fernandez 3519107131
Add compatibility with the new GNU Radio 3.9 API that uses C++11 standard smart pointers instead of Boost smart pointers 2020-04-02 23:59:35 +02:00
Carles Fernandez 299cb1a2ee
Remove usage of uninitialized variables in CMake scripts
Remove all warnings emitted by cmake --warn-uninitialized ..
2020-02-29 14:33:09 +01:00
Carles Fernandez 0a8c8d18a2 Fix building of GPSTk in OpenSUSE 2020-02-19 15:44:40 +01:00
Carles Fernandez 3fd648e659
Update GPSTk to v3.0.0 2020-02-19 07:55:57 +01:00
Carles Fernandez 054ca06917
Fix for Armadillo older than 9.800 2020-02-18 21:21:46 +01:00
Carles Fernandez 2ded19342f
Improve headers 2020-02-12 00:04:29 +01:00
Carles Fernandez d88cd25f03 Add new carrier_smoothing_factor flag
Fix some public/private dependency issues
Add enable_carrier_smoothing flag to position_test
2020-02-10 19:51:33 +01:00
Carles Fernandez 4d0d263280
Make the software package compliant with the REUSE Specification v3.0 (see https://reuse.software/spec/)
Update license headers to SPDX format (see https://spdx.org/)
Add license to all files
Add CI job in GitHub Actions to ensure compliance
2020-02-08 01:20:02 +01:00
Carles Fernandez 3e0752a88b
Improve OS reporting 2020-02-03 22:11:04 +01:00
Carles Fernandez 2b3958dccb
Replace MacOS by macOS 2020-02-01 11:18:08 +01:00
Carles Fernandez d4884ed440
Improve script readability 2020-01-20 00:35:00 +01:00
Carles Fernandez 120032c8bd
Fix building with custom build types
None, NoOptWithASM, Coverage, O2WithASM, O3WithASM and ASAN can now be used in CMAKE_BUILD_TYPE, in addition to Debug, Release, RelWithDebInfo and MinSizeRel.
Custom build types passed to volk_gnsssdr

Handle of custom build types when building tests
Fixes for clang
2020-01-19 22:13:50 +01:00
Carles Fernandez 087cea32b4
Simplify script 2020-01-19 11:30:44 +01:00
Carles Fernandez 24c48c1700
Fix building gtest when sources are found 2019-12-06 18:00:06 +01:00
Carles Fernandez 3673091a18
Improve support for multi-configuration generators 2019-12-06 14:23:12 +01:00
Carles Fernandez 50f4c2004c
Fix random error in trk_test 2019-11-29 16:40:50 +01:00
Carles Fernandez 4cf60d79ae
Remove superfluous lines 2019-11-11 00:25:34 +01:00
Carles Fernandez 8adcf7cf0a
Fix building with Debug configurations when gflags or glog are not present 2019-11-10 23:26:03 +01:00
Carles Fernandez 08e913c4e3
More fixes for Xcode 2019-11-09 19:56:28 +01:00
Carles Fernandez 76b6b4d22e
More fixes for Xcode 2019-11-09 10:38:38 +01:00
Carles Fernandez d3d2817dcb
Fix finding of gnss-sim executable when building with Xcode 2019-11-08 14:25:43 +01:00
Carles Fernandez 4816ae64f7
Add toolchain files for ARM processors 2019-11-01 19:29:28 +01:00
Carles Fernandez 933211dcc3
Update Googletest to v1.10.0 2019-10-04 14:46:46 +02:00
Carles Fernandez 05ec821998
Update GPSTK version to 2.12
Fix ENABLE_OWN_GPSTK option if GPSTK was already found
2019-08-20 23:02:48 +02:00
Carles Fernandez e6700907b4
Detect the Hurd 2019-08-11 14:43:26 +02:00
Carles Fernandez 4ec498514c
Build OpenCL block only if enabled with -DENABLE_OPENCL=ON 2019-08-02 14:59:05 +02:00
Javier Arribas aeabfb7c3c Replacing the old gnuradio message queue with the new ConcurrentQueue 2019-07-17 15:56:30 +02:00
Carles Fernandez f73e66d376
Fix building of matio_test when building with c++17 2019-07-14 09:31:03 +02:00
Carles Fernandez 04a62b813f
Remove unused CMake modules
Move ENABLE_GNSS_SIM_INSTALL option to main CMakeLisis.txt file
Remove unused lines
Update Doxygen download website
2019-06-28 09:32:46 +02:00
Carles Fernandez 0e5211dbf0
Modern CUDA usage 2019-06-24 20:02:19 +02:00
Carles Fernandez 12e26fe318
Move package DESCRIPTION and URL data to CMake modules 2019-06-21 02:49:41 +02:00
Carles Fernandez 25154ec066
Add more package version identifications 2019-06-19 23:42:46 +02:00
Carles Fernandez c30975064e
Get GPSTK version if found
This can be important in the future since current version is a c++17 blocker
2019-06-19 20:54:45 +02:00
Carles Fernandez 7467f94164
Relax Armadillo version for nonlinear filters 2019-06-15 10:54:49 +02:00
Carles Fernandez 61f7ea2922
Fix for Armadillo < 8.400 2019-06-14 21:16:40 +02:00
Carles Fernandez 1d80f1ba9b
Fix building if Armadillo < 9.400 2019-06-14 18:22:07 +02:00