Commit Graph

62 Commits

Author SHA1 Message Date
Mateusz Pusz
39d278a92e build: Kalman filter examples disabled for a while 2024-01-23 21:20:22 +01:00
Mateusz Pusz
9511995d04 build: find_package() calls don't spell CONFIG explicitly anymore 2024-01-12 12:32:12 +01:00
Mateusz Pusz
5293589900 build: all the targets now set C++20 as the minimum required version 2024-01-08 13:02:02 +01:00
Mateusz Pusz
4223f813cd style: CMake file formatting fixed 2024-01-06 08:51:01 +01:00
Mateusz Pusz
0eaf6e2e56 refactor: modules support redesigned 2024-01-06 08:51:01 +01:00
Johel Ernesto Guerrero Peña
7cb2099af5 feat: add module mp_units 2024-01-06 08:51:00 +01:00
Nick Thompson
267db9e2a2 Update minimum cmake version to 3.5
Currently, cmake is emitting the following warning:

```
CMake Deprecation Warning at cmake/ccache.cmake:23 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.
```

Update the CMake min version to 3.5 to unclutter the build logs and ensure users don't get broken by the deprecation.
2023-12-16 11:51:58 -08:00
Mateusz Pusz
9f1a42bc7f refactor: glide_computer renamed to glide_computer_lib 2023-08-24 19:19:55 +02:00
Mateusz Pusz
3a94ca89fd feat(example): spectroscopy_units example added 2023-07-08 12:59:38 +02:00
Mateusz Pusz
d9d9d9d3b7 feat(example): storage_tank example extended with custom quantity types 2023-06-21 11:29:22 +02:00
Mateusz Pusz
6627b0a491 refactor: glide_computer and storage_tank examples renamed 2023-06-02 13:52:00 +02:00
Mateusz Pusz
52bbd00ab4 style: clang-format new rules applied to the code base 2023-05-26 14:20:00 +02:00
Mateusz Pusz
561fbf7c93 merge branch master 2023-05-26 13:53:52 +02:00
Mateusz Pusz
d97e650cac feat(example): HAE support added to UAV example 2023-05-15 12:58:35 +02:00
Mateusz Pusz
c892889901 feat(example): currency and unmanned_aerial_vehicle examples added 2023-05-14 10:38:08 +02:00
Mateusz Pusz
4d0d6b78a8 refactor: box_example refactored to storage_tank_example 2023-03-06 14:49:38 +01:00
Mateusz Pusz
b78b53e757 build(example): custom_systems example removed as not relevant anymore 2023-01-04 15:32:13 +01:00
Mateusz Pusz
4a49bdda05 refactor: V2 design update 2022-10-06 23:43:01 +01:00
Mateusz Pusz
daf97a3a86 feat: initial very dirty version of V2 framework 2022-09-08 19:11:45 +02:00
Mateusz Pusz
a1637ebac6 feat(example): si_constants example added 2022-05-22 19:51:35 +02:00
Mateusz Pusz
11521a5a96 feat(example): validated_type and ranged_representation example types added 2022-04-21 21:23:45 +02:00
Mateusz Pusz
f9fb6cc8b3 build: projectPrefix usage added 2021-11-05 23:35:30 +01:00
Mateusz Pusz
70bff31d06 feat: quantity aliases support addded 2021-04-15 19:13:25 +02:00
Mateusz Pusz
813197021f refactor: measurement example moved to a root examples directory 2021-04-15 14:05:36 +02:00
Mateusz Pusz
97245a8c96 feat: Kalman Filter tutorials 1-8 added 2021-04-13 18:16:11 +02:00
Mateusz Pusz
dddc7572aa refactor: conversion_factor example moved to the main examples directory 2021-04-07 19:05:02 +02:00
Mateusz Pusz
40de14b9b7 refactor: common part of glide_computer moved to a directory 2021-04-07 12:36:39 +02:00
Mateusz Pusz
cf14032dce refactor: custom_systems example moved to the parent directory 2021-04-07 11:54:35 +02:00
Mateusz Pusz
1f80c57fad refactor: hello_units fixed to provide literals and references preprocessor defines explicitly 2021-04-06 16:36:52 +02:00
Mateusz Pusz
b982921d27 refactor: References are now guarded UNITS_REFERENCES with (ON by default) + examples duplicated to subdirectories
Now References can be disabled to meassure a compile time impact. Also the same examples are now provided in two subdirectories to be able to easily compare the pros and cons of every quantity construction technique.
2021-04-06 15:57:28 +02:00
Mateusz Pusz
a7cd8d5131 build: Local directory added to include dirs for glide_computer 2021-03-30 14:01:58 +02:00
Mateusz Pusz
37473eb8ad refactor: core-io and core-fmt separate modules added 2021-03-17 13:46:28 +01:00
Mateusz Pusz
221883bb25 build: core library and each system separated to dedicated CMake targets
Refers to #249
2021-03-16 23:05:45 +01:00
Mateusz Pusz
625f452daa build: libc++ support added 2021-03-15 21:11:26 +01:00
Mateusz Pusz
069712b222 fix: Visual Studio caught up with terse form of constraints 2021-03-12 23:06:11 +01:00
Mateusz Pusz
cdba0cdbc4 refactor: glide_computer refactored and extended with geographical coordinates 2021-02-26 14:10:36 +01:00
Mateusz Pusz
8f04bd9cfe build: mp::units CMake target was a bad idea -> mp-units::mp-units is back 2021-02-15 17:06:09 +01:00
Mateusz Pusz
d3f20e22a3 build: Linear Algebra temporarily removed from MSVC build 2020-12-22 15:31:02 +01:00
Mateusz Pusz
a172f34684 build: Minimum CMake version required set for each file based on its contents 2020-12-21 22:56:00 +01:00
Mateusz Pusz
206712f046 build: Library renamed to mp::units 2020-12-17 23:06:37 +01:00
Mateusz Pusz
c5919d2cd8 build: Conan generator changed to provide more transparent dependency handling 2020-12-09 18:49:39 +01:00
Mateusz Pusz
a0beeb48b1 feat: custom systems examples added 2020-09-10 21:17:43 +02:00
Mateusz Pusz
563b358d5e feat!: 💥 dimensionless quantities refactored
Dimensionless quantities are now represented by quantity types rather
than by plain representation types. Only dimensionless quantities with
`unitless` unit are implicitly convertible from representation types.

`units::exp()` now is a function doing std::exp() on a representation
type (previous `units::exp` class template was renamed to
`units::exponent`).

BREAKING_CHANGE: gcc-9.3 support removed
BREAKING_CHANGE: `exp` and `Exp` renamed to `exponent` and `Exponent`
Resolves #27
Resolves #42
2020-09-08 11:02:16 +02:00
Mateusz Pusz
32779e01f0 Build system refactored to be comatible with ConanCenter 2020-09-06 00:00:06 +02:00
Mateusz Pusz
b318e8d039 VS2019 support added 2020-09-04 23:06:57 +02:00
Mateusz Pusz
f55eacfa85 glide_computer example added 2020-06-21 10:37:45 +02:00
Mike Ford
aa84dcb9ef added example and some more units to fps system 2020-06-16 15:14:46 +02:00
Andy Little
f281e417e2 Experimental branch using angle as a dimension.
Added dim_angle, Angle concept etc.
Not really for merging, but fun to play with.(The main problem is that it doesnt conform to SI)
See https://github.com/mpusz/units/issues/99
Could try adding degrees etc in same way as non-si units
2020-05-20 21:34:04 +02:00
Mateusz Pusz
68405ef7f6 Errors in CMake generator expressions fixed 2020-05-08 17:50:28 +02:00
Mateusz Pusz
d18480879d Linking with Conan targets only when they exists (resolves #98) 2020-05-08 11:56:07 +02:00