Carles Fernandez
17b1ef8b98
Do not use deletes. Improve memory management
2019-06-30 04:47:15 +02:00
Carles Fernandez
d5e5e5725d
Apply fixes by clang-tidy
2019-06-30 00:01:54 +02:00
Carles Fernandez
d75abe6758
Add inline keyword
2019-06-29 22:48:00 +02:00
Carles Fernandez
f821caea4a
Code cleaning
2019-06-29 22:47:21 +02:00
Carles Fernandez
7264888487
Add explicit keyword
...
See https://google.github.io/styleguide/cppguide.html#Explicit_Constructors
2019-06-29 22:32:29 +02:00
Carles Fernandez
b6e9ba5877
Improve const correctness
2019-06-29 22:04:03 +02:00
Carles Fernandez
dd3b2f11db
Fix wrong loop
2019-06-29 21:13:14 +02:00
Carles Fernandez
0b1683fa1e
Avoid pointer arithmetics
2019-06-29 17:29:51 +02:00
Carles Fernandez
81c79ad007
Fix termination
2019-06-29 16:49:53 +02:00
Carles Fernandez
c37b3e00b5
Use uppercase literal suffix
2019-06-29 14:22:15 +02:00
Carles Fernandez
f90d52a1e2
Improve const correctness
2019-06-29 13:57:00 +02:00
Carles Fernandez
d6714e35a1
Avoid pointer arithmetics
2019-06-29 12:55:39 +02:00
Carles Fernandez
dd53f81b1a
Replace memcpy by copy_n. Avoid pointer arithmetics
2019-06-29 11:58:08 +02:00
Carles Fernandez
c79b360fa7
Replace Guidelines Support Library implementation
...
Source: https://github.com/martinmoene/gsl-lite
If works with gcc 4.8 (Microsoft's doesn't)
2019-06-29 02:40:12 +02:00
Carles Fernandez
9b3fd32f43
Check if the compiler has the <span> header
2019-06-29 01:58:12 +02:00
Carles Fernandez
751f54990c
Introduce gsl::span. Bound checking at compile time, no overhead at runtime
...
See https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md
2019-06-29 01:28:30 +02:00
Carles Fernandez
a2c6c8a630
Apply clang-tidy fixes
2019-06-28 12:26:46 +02:00
Carles Fernandez
1cd7ca301d
Use std::array for compile-time bound checking
2019-06-28 12:26:09 +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
52b70af104
Preserve PACKAGE_VERSION variable if it exists
2019-06-27 08:47:09 +02:00
Carles Fernandez
b19fad4b63
Minor editing
2019-06-26 23:20:12 +02:00
Carles Fernandez
da02757a07
Minor editing
2019-06-26 21:07:59 +02:00
Carles Fernandez
de619fdd13
Set CMake policies older than 3.14 to NEW is not required anymore
2019-06-26 20:15:15 +02:00
Carles Fernandez
e3f4cbd5d7
Improve consistency in reporting version
2019-06-26 12:39:58 +02:00
Carles Fernandez
f8d8a59c45
Set known CMake policies to NEW if CMake >= 3.12
2019-06-26 11:18:08 +02:00
Carles Fernandez
8a6621b68c
Update Matio version
2019-06-25 12:05:49 +02:00
Carles Fernandez
684944d523
Remove unused variable
2019-06-25 12:04:34 +02:00
Carles Fernandez
9db7a97fab
Improve consistency in version reporting
2019-06-25 11:48:00 +02:00
Carles Fernandez
e3d3285cd9
Fix broken compilation when ENABLE_CUDA was ON
2019-06-25 11:40:10 +02:00
Carles Fernandez
a4676a53e4
Build custom UDP IP packet source if PCAP is available
2019-06-24 21:40:25 +02:00
Carles Fernandez
16a98cc8c9
Improve usage of FeatureSummary's add_feature_info function
2019-06-24 21:29:35 +02:00
Carles Fernandez
ea68c8523c
Merge branch 'opencl' into next
2019-06-24 20:43:58 +02:00
Carles Fernandez
0e5211dbf0
Modern CUDA usage
2019-06-24 20:02:19 +02:00
Carles Fernandez
e28062de87
Modernize OpenCL code
2019-06-24 19:25:51 +02:00
Carles Fernandez
de79147def
Fix OpenCL test if the OpenCL Platform is not ready
2019-06-24 14:33:08 +02:00
Carles Fernandez
9318fe540d
Fixes for modern OpenCL versions
2019-06-24 13:39:34 +02:00
Carles Fernandez
a2dcf223f0
Create OpenCL imported target
2019-06-24 11:25:18 +02:00
Carles Fernandez
59281117e9
Search for CMake config
2019-06-24 02:33:53 +02:00
Carles Fernandez
bbe7707282
Improve dependency version identification in CMake modules
2019-06-24 00:24:08 +02:00
Javier Arribas
bfae31390f
Adding TOW update consistency check in GPS L5 telemetry decoder
2019-06-21 18:06:48 +02:00
Carles Fernandez
12e26fe318
Move package DESCRIPTION and URL data to CMake modules
2019-06-21 02:49:41 +02:00
Carles Fernandez
11ed0d3703
Small fixes in CMake modules
2019-06-20 11:58:50 +02:00
Carles Fernandez
58f8db6080
Fix typo
2019-06-20 08:26:32 +02:00
Carles Fernandez
25154ec066
Add more package version identifications
2019-06-19 23:42:46 +02:00
Carles Fernandez
34a949eb28
Enable RAW_UDP if PCAP is found
...
Try to get PCAP version
2019-06-19 21:34:23 +02:00
Carles Fernandez
434f7d7830
Tell pkg-config to add more paths to its search
...
Setting PKG_CONFIG_USE_CMAKE_PREFIX_PATH to TRUE. If this variable is not set, this behavior is enabled by default if CMAKE_MINIMUM_REQUIRED_VERSION is 3.1 or later, disabled otherwise. Since our minimum requirement is 2.8.12, we activate it manually.
See https://cmake.org/cmake/help/latest/module/FindPkgConfig.html
2019-06-19 21:01:36 +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
d5ecb0f861
Improve messages
2019-06-19 12:46:15 +02:00
Carles Fernandez
fed2035f1e
Fixes in version reporting
2019-06-19 11:59:41 +02:00
Carles Fernandez
e6e1fee80a
Print Gflags and Glog version in summary report
2019-06-19 08:42:44 +02:00