Commit Graph

617 Commits

Author SHA1 Message Date
Carles Fernandez 771fbf1365
Make use of std::rotl (C++20) if available 2020-06-16 12:22:37 +02:00
Carles Fernandez 90c8b8e468
Move decisions based on the compiler version to a better place 2020-06-14 12:57:47 +02:00
Carles Fernandez b301c772e8
Fix AppleClang version detection 2020-06-14 07:52:59 +02:00
Carles Fernandez dcf9bc52c4
Clarify source definition 2020-06-13 14:32:08 +02:00
Carles Fernandez e946cd0519
Fix wrong target 2020-06-13 14:09:20 +02:00
Carles Fernandez 4383821ac0
Merge branch 'accel-build' into next 2020-06-13 14:01:55 +02:00
Carles Fernandez 34ebf384a5
Use parallel building for GPSTk and Protobuf 2020-06-13 14:01:35 +02:00
Carles Fernandez d40c225ade
Add BLAS::BLAS AND LAPACK::LAPACK imported targets 2020-06-13 13:43:00 +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 3a0012c60c
Fix cmakelint job 2020-06-13 00:41:16 +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 e8f8097b04
Avoid using different C++ standard depending on building options 2020-06-11 14:24:12 +02:00
Carles Fernandez 90086f21c5
Allow stripping also with Clang 2020-06-10 23:01: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 029651cbe3
Do not strip volk_gnsssdr binaries if cross-compiling 2020-06-10 13:17: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 7e0502362a
Update Protocol Buffers to 3.12.3 2020-06-07 01:04:02 +02:00
Carles Fernandez d2e9b0aece
Fix for Boost 1.73 2020-06-06 20:07:00 +02:00
Carles Fernandez 9b15992556
Update local version of Protocol Buffers to 3.12.2 2020-05-27 14:07:40 +02:00
Carles Fernandez f9acf19fa7
Update Protocol Buffers to 3.12.0 2020-05-16 11:08:01 +02:00
Carles Fernandez 32e6a50b05
Re-enable concepts for Boost Asio in version 1.73 2020-05-15 22:04:32 +02:00
Carles Fernandez dfd596fca7
Print C and C++ selected standards in the summary report 2020-05-15 11:31:10 +02:00
Carles Fernandez 4dfb93c57b
Fix CMake warnings 2020-05-14 23:17:09 +02:00
Carles Fernandez 5943485a38
Fix building with gcc 10 and Boost 1.72 2020-05-14 22:33:54 +02:00
Carles Fernandez 0637365d6c
Remove python-six as a dependency if Python version is 3.x 2020-05-10 17:31:39 +02:00
Carles Fernandez 057d534354
Fix clause 2020-05-08 00:52:42 +02:00
Carles Fernandez eaee82280a
Make use of std::span when available 2020-05-07 21:47:45 +02:00
Carles Fernandez abb6d259f3
Fix linkage of local matio library with HDF5 1.12 2020-05-07 11:16:39 +02:00
Carles Fernandez 54de93bdd9
Fix for disappearing branch / version in Armadillo 2020-05-01 22:02:47 +02:00
Carles Fernandez fbd3485aed
Fix Armadillo flags 2020-04-22 14:44:53 +02:00
Carles Fernandez 2b257f87d7
Set C++ standard to 14 if linking against GPSTk with gcc 2020-04-22 11:09:06 +02:00
Carles Fernandez b78bbdf555
Update local Armadillo branch to 9.860.x 2020-04-22 04:08:35 +02:00
Carles Fernandez 0bec24e593
Fix Boost detection for volk_gnsssdr in some cross-compilation environments 2020-04-06 20:30:59 +02:00
Carles Fernandez 6da98e3381
Set THIS_IS_A_RELEASE variable to OFF 2020-03-13 12:24:15 +01:00
Carles Fernandez 1a2f7c7d9d
Bump version to 0.0.12
Add REUSE badge to README file
2020-03-12 20:13:49 +01:00
Carles Fernandez e638019d93
Fix formatting errors detected by cmakelint 2020-03-01 11:53:01 +01: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 1656463d04
Fix runtime errors if compiling in Debug mode on MacOS
Before this fix, the execution crashed at the first PVT fix computation when compiling with the Debug mode
2020-02-28 22:00:36 +01:00
Carles Fernandez 581ba96904
Use cmake -E rm instead of -E remove if CMake >= 3.17 2020-02-28 20:57:28 +01:00
Carles Fernandez 14365edde8 Fix optimization flags for Fedora and Gentoo 2020-02-24 11:49:48 +01:00
Carles Fernandez 4eea63326f
Fix -DENABLE_OWN_ARMADILLO option in macOS 2020-02-22 13:47:08 +01:00
Carles Fernandez 49adce12e3
Fix warnings raised by CMake 3.17.0-rc1 2020-02-20 19:51:57 +01:00
Carles Fernandez 3fd648e659
Update GPSTk to v3.0.0 2020-02-19 07:55:57 +01:00
Carles Fernandez 0715fd8e8e
Update Protocol Buffers to 3.11.4 2020-02-16 12:25:27 +01:00
Carles Fernandez 2ded19342f
Improve headers 2020-02-12 00:04:29 +01:00
Carles Fernandez 35cd66cb55
Improve documentation for macOS when building Matio and/or ProtocolBuffers from source 2020-02-09 23:29:17 +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 d6ec2a7b2c
Update links (mainly from http to https, fix broken links) 2020-02-05 21:24:46 +01:00