Commit Graph

305 Commits

Author SHA1 Message Date
Carles Fernandez 6ec452a7c0
Allow the CMake project to be a sub-project 2022-07-28 10:37:36 +02:00
Carles Fernandez ecfbd11079
Fix cross-compilation of gnss-sim 2022-07-25 12:56:53 +02:00
Carles Fernandez 9aa4128780
Fix cross-compilation of gnss-sim 2022-07-25 12:48:57 +02:00
Carles Fernandez 3b0a64a1c0
Fix cross-compilation of gnss-sim 2022-07-25 12:24:07 +02:00
Carles Fernandez fa821a52a4
Update to gnsstk 13.4.0 2022-07-10 19:19:37 +02:00
Carles Fernandez 06ed558fb1
Report GNSSTk in CMake summary 2022-07-06 13:49:45 +02:00
Carles Fernandez 9db6f55b3c
Fix when building for GNSSTk 12.1.0 or older 2022-07-05 17:37:21 +02:00
Carles Fernandez 109112be63
Allow backward compatibility with GPSTK 2022-07-05 13:46:58 +02:00
Carles Fernandez dc027e95ff
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into gnsstk 2022-07-04 17:10:52 +02:00
Carles Fernandez cb52bc71e8
Fix building in Debug mode with Googletest 1.12.1 2022-07-04 10:50:21 +02:00
Carles Fernandez d94778b27a
Fixes for Xcode 2022-07-04 10:26:13 +02:00
Carles Fernandez d9c4eba5fe
Add work on gnsstk transition 2022-07-04 10:05:54 +02:00
Carles Fernandez f2ae0ddb33 Transition from GPSTk to gnsstk: update to 11.2.3 2022-07-01 16:24:48 +02:00
Carles Fernandez 55daf9322f Fix folder name for GPSTk library to lib 2022-04-06 11:27:50 +02:00
Carles Fernandez 4f76a9c526
Fix cross-compilation in some environments 2021-12-17 20:00:30 +01:00
Carles Fernandez dc87113279
Fix building of FPGA test 2021-10-30 21:51:23 +02:00
Carles Fernandez a7a140862b
Fix building against latest GNU Radio
Replace boost::any by std::any
2021-10-30 05:43:22 +02:00
Carles Fernandez b4b9c31182
Improve detection of Gnuplot and gnss_sim when cross-compiling 2021-08-02 09:33:16 +02:00
Carles Fernandez bf7cea7240
Update Googletest local version to 1.11.0 2021-06-13 14:21:51 +02:00
Carles Fernandez 3c74930c7d
Fix building problems in Macports 2021-05-31 10:47:07 +02:00
Carles Fernandez 49fc117ab1
Improve control on gtest version 2021-04-24 01:16:20 +02:00
Carles Fernandez 950111d0fe
Avoid warning when building googletest with CMake >= 3.19 2021-01-25 22:19:18 +01:00
Carles Fernandez 1287e8fe79
Improve handling of the filesystem library 2021-01-16 14:37:19 +01:00
Carles Fernandez 0e9046c956
Raise an error if GPSTK is to be built but the patch command is not found 2021-01-16 10:51:38 +01:00
Carles Fernandez 11f13ebcab
Fix building in modern environments 2021-01-15 15:03:36 +01:00
Carles Fernandez 4fea48f603
Improve handling of change in GNU Radio 3.9 FFT API
Fix compilation of some optional blocks when linking against GR 3.9

Fix warning -Wembedded-directive: embedding a directive within macro arguments has undefined behavior
2021-01-15 13:39:26 +01:00
Carles Fernandez 7308745f05
Apply more concise file header format
Re-license CMake scripts with BSD-3-Clause
2020-12-30 13:35:06 +01:00
Carles Fernandez 8f3e60091b
Avoid patching GPSTk twice when rebuilding 2020-12-18 12:51:45 +01:00
Carles Fernandez c49a0a2e16
Remove tab 2020-12-02 14:33:43 +01:00
Carles Fernandez a538c8c4ee
Update local GPSTk version to v8.0.0, keep compatibilty if v3.0.0 is installed 2020-12-02 14:27:59 +01:00
Carles Fernandez 0880b04649
Handle change in GNU Radio FFT API 2020-11-04 09:32:00 +01:00
Carles Fernandez cc4412070b
Fix typo in patched file name 2020-10-25 13:02:20 +01:00
Carles Fernandez 88bd08b75b
Fix obsdiff and rinex2assist utilities when installed if they were built with a locally downloaded version of GPSTk 2020-10-25 11:50:09 +01:00
Carles Fernandez 999ee6c623
Enable gperftools in position_test, if found and enabled with ENABLE_GPERFTOOLS 2020-07-06 10:25:54 +02:00
Carles Fernandez b2fd68fe67
Improve std::plus void detection 2020-06-30 13:41:20 +02:00
Carles Fernandez f8656ca9d8 Fix for compilers using C++11: the std::plus template without class T specified is only available since C++14 2020-06-29 12:32:35 +02:00
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