1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-18 07:44:57 +00:00
Commit Graph

328 Commits

Author SHA1 Message Date
Carles Fernandez
a9472e8804
CMake formatting 2020-06-23 11:06:26 +02:00
Carles Fernandez
81af1a531b
Redesign of pointer management
Avoid indirection caused by passing shared_ptr by reference

The block factory does not have responsability on the lifetime of their inputs

Define std::make_unique when using C++11 and make use of it

Printers are turned into unique_ptr to express ownership

Printers do not participate on the lifelime of the data, so they take const raw pointers

Modernize tests code
2020-06-18 11:49:28 +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
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
4913756a05
Replace <boost/bind.hpp> by <boost/bind/bind.hpp> 2020-06-06 23:41:38 +02:00
Carles Fernandez
f731a7c0f1
Fix for Boost >= 1.73 in old compilers 2020-05-18 22:50:34 +02:00
Carles Fernandez
1077970962
Revert "Fix for Boost < 1.60"
This reverts commit 832c2558c6.
2020-05-18 21:36:22 +02:00
Carles Fernandez
832c2558c6
Fix for Boost < 1.60 2020-05-18 19:55:44 +02:00
Carles Fernandez
b408a2ef29
Fix for Boost 1.73: qualify placeholders with their full namespace 2020-05-18 18:58:39 +02:00
Carles Fernandez
552b438245
Fixes for old GCC 2020-04-26 12:38:01 +02:00
Carles Fernandez
9c9a7b5bc6
Use lambda instead of boost::build when genenic lambdas are available in the compiler 2020-04-25 22:17:15 +02:00
Carles Fernandez
fdb0f35116
Use lambda instead of boost::build when genenic lambdas are available in the compiler 2020-04-25 21:41:04 +02:00
Carles Fernandez
27f6b0c290
Fixes for GNU Radio 3.9 2020-04-03 00:41:51 +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
5f974a8f17
Replace boost::shared_ptr by std::shared_ptr 2020-04-02 13:23:20 +02:00
Marc Majoral
c0796eb983 added a script that reads a signal stored using the ibyte format, quantizes the signal using the specified number of bits, and writes the signal to an output file. 2020-04-02 11:04:49 +02:00
Carles Fernandez
f752e790eb Fix typos, get better names for .ps files (no blank spaces, no parentheses) 2020-03-11 12:01:02 +01:00
Carles Fernandez
8051f75a54
Code formatting: fix whitespace 2020-03-05 19:11:52 +01:00
Carles Fernandez
fddb3a8bd0 Fix markdown 2020-03-05 17:16:05 +01:00
Carles Fernandez
aaa17fc218 Document signal and system flags 2020-03-05 09:58:12 +01:00
Carles Fernandez
2e23ba3489
Fix prettier-markdown CI job by running prettier --parser markdown --print-width 80 --prose-wrap always --write ./src/utils/rinex-tools/README.md 2020-03-04 22:56:01 +01:00
Javier
8082935ae0 Upgrading obsdiff tool features. Test and ref observables nomenclature changed to rover and base observables 2020-03-04 10:48:55 +01:00
Javier
d4df7f9fe7 Enable Galileo E1 in obsdiff tool 2020-03-02 12:16:14 +01:00
Carles Fernandez
b5efbf275d
Fix clang-tidy warning bugprone-string-literal-with-embedded-nul
See https://clang.llvm.org/extra/clang-tidy/checks/bugprone-string-literal-with-embedded-nul.html
2020-03-01 13:57:23 +01:00
Carles Fernandez
e638019d93
Fix formatting errors detected by cmakelint 2020-03-01 11:53:01 +01:00
Carles Fernandez
2bf7d887a1
Fix reading exceptions and some typos 2020-02-28 12:11:21 +01:00
Carles Fernandez
716fa970c4
More markdown fixes 2020-02-27 19:50:08 +01:00
Carles Fernandez
17a7044add Wrap README text into 80 character-length lines, so they are easier to read from the terminal.
Formatted by https://prettier.io/, options: --parser markdown --print-width 80 --prose-wrap always
2020-02-27 18:42:43 +01:00
Carles Fernandez
538c1e6182 Fix shadowed variables 2020-02-26 18:16:04 +01:00
Carles Fernandez
57517b44dd
Apply clang-tidy 2020-02-25 18:31:44 +01:00
Carles Fernandez
5a71e59450
Fixes for cpplint job 2020-02-25 18:27:04 +01:00
Javier
38a0777946 Adding code rate vs. carrier phase rate single difference test to obsdiff utility 2020-02-25 16:56:16 +01:00
Carles Fernandez
d3f4b1d5a0
Apply clang-tidy, document new flags 2020-02-25 08:25:19 +01:00
Carles Fernandez
5fd7f8f8f6 Fix building: Remove non-existent include
cpplint: Should have a space between // and comment [whitespace/comments]
2020-02-24 15:06:48 +01:00
Javier
b8853afd94 Upgrading obsdiff RINEX utility to account for the receiver's clock error 2020-02-24 13:04:39 +01:00
Carles Fernandez
b251061495
cpplint: Should have a space between // and comment [whitespace/comments] 2020-02-23 11:12:11 +01:00
Carles Fernandez
ce4817b679
Fix header 2020-02-22 14:23:53 +01:00
Carles Fernandez
252c693eb6
Fix fypo 2020-02-22 13:57:47 +01:00
Carles Fernandez
a2076418d8
Improve information provided to the user 2020-02-22 13:52:34 +01:00
Carles Fernandez
f193d5afb2
Shut down warnings raised by GPSTk in GCC 2020-02-22 12:28:35 +01:00
Carles Fernandez
580ddfdff0
Inform user whether utility tools will be built or not. Shut down warnings raised by GPSTk 2020-02-22 10:41:18 +01:00
Carles Fernandez
c315767008 Add warning if Armadillo version is older than 9.800, since the obsdiff tool will not be built 2020-02-20 10:53:22 +01:00
Carles Fernandez
6bd48860b2
Fix includes 2020-02-19 08:29:36 +01:00
Carles Fernandez
444023b25c
Remove unused variable 2020-02-18 22:55:23 +01:00
Carles Fernandez
924f59fad0
Remove unused includes, improve README 2020-02-18 22:46:22 +01:00
Carles Fernandez
2215e627b4
Document dependencies 2020-02-18 22:16:31 +01:00
Carles Fernandez
054ca06917
Fix for Armadillo older than 9.800 2020-02-18 21:21:46 +01:00