Mateusz Pusz
a97eea95e9
fix: expr_divide fixed for 1 / derived_type
2022-11-07 14:57:39 -10:00
Mateusz Pusz
4a49bdda05
refactor: V2 design update
2022-10-06 23:43:01 +01:00
Mateusz Pusz
d18bf2229a
test: standalone public headers tests added
2022-04-24 19:59:46 +02:00
Markus Hofbauer
cf7a7ed17a
check: run pre-commit on all files
2022-04-02 18:58:23 +02:00
Johel Ernesto Guerrero Peña
3bf3bebb6a
build: export config to local build ( #322 )
2021-12-13 15:16:08 +01:00
Mateusz Pusz
ec6b625135
build: units_as_system renamed to unitsAsSystem
2021-11-05 23:36:14 +01:00
Mateusz Pusz
f9fb6cc8b3
build: projectPrefix usage added
2021-11-05 23:35:30 +01:00
Mateusz Pusz
43825a531f
chore: project version moved to 0.8.0
2021-05-11 23:07:03 +02:00
Mateusz Pusz
512406e900
build: got rid of global options for references and literals
2021-04-06 16:30:26 +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
c3659dbb47
refactor: UNITS_UDLS renamed to UNITS_LITERALS
...
Also now the existence of the preprocessor flag is enough to trigger the feature (`#ifdef` instead of `#if`)
2021-04-06 13:33:27 +02:00
Mateusz Pusz
1a5b4fc85e
refactor: UDLs support switched off by default
2021-04-02 18:56:28 +02:00
Mateusz Pusz
9054420d08
build: Added an option to disable UDLs support
...
Now it is time to get rid of UDLs from tests and examples and then disable them by default.
2021-04-01 09:36:55 +02:00
Mateusz Pusz
01935996e6
build: IWYU support added
2021-03-30 13:15:47 +02:00
Mateusz Pusz
37473eb8ad
refactor: core-io and core-fmt separate modules added
2021-03-17 13:46:28 +01:00
Mateusz Pusz
b356a53fa4
build: installation of mp-units and mp-units-systems fixed
2021-03-16 23:40:57 +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
b18061ab0e
build: clang support added
2021-03-15 14:22:12 +01:00
Mateusz Pusz
23da1299d6
build: CMake scripts cleanup
2021-03-13 19:53:09 +01:00
Mateusz Pusz
959895d2b9
build: CMake installation namespace fixed
2021-02-15 18:34:26 +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
b1e98a97d0
refactor: ms-gsl replaced with gsl-lite
2021-01-05 17:47:07 +01:00
Mateusz Pusz
f2f1d030ff
build: Conan toolchains support added
2020-12-21 22:38:27 +01:00
Mateusz Pusz
bacb92e5d3
build: UNITS_DOWNCAST_MODE handling in CMake refactored
2020-12-21 22:15:56 +01:00
Mateusz Pusz
206712f046
build: Library renamed to mp::units
2020-12-17 23:06:37 +01:00
Mateusz Pusz
badc8568aa
build: Common CMake scripts are no longer common
2020-12-16 19:18:06 +01:00
Mateusz Pusz
ff22bae04e
build: CMake cleanup
2020-12-09 18:59:50 +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
d4d23847d8
refactor: DOWNCAST_MODE renamed to UNITS_DOWNCAST_MODE
2020-09-13 18:45:46 +02:00
Mateusz Pusz
eb23d004d4
build: version updated to 0.7.0
2020-09-13 11:46:24 +02:00
Mateusz Pusz
7d204a1177
build(cmake): mp-units-config.cmake file added with explicit dependencies
...
Addresses some of the issues mentioned in #156 .
2020-09-10 15:22:04 +02:00
Mateusz Pusz
8f49561242
refactor: the default dowcasting mode changed from AUTO to ON
2020-09-09 20:50:58 +02:00
Mateusz Pusz
e367afed71
Merge branch 'downcasting_2.0'
2020-09-09 20:31:03 +02:00
Mateusz Pusz
9527b39005
refactor: 💥 q_* UDL renamed to _q_*
...
We had some fun exploring the STD UDLs for potential collisions,
we have learnt our lesson and know how to proceed.
Now is high time to start behaving and obeying C++ rules.
2020-09-09 19:20:35 +02:00
Mateusz Pusz
4bb51586dc
refactor: got rid of gcc-9 backlog
...
BREAKING CHANGE: gcc-9.3 no longer supported
2020-09-08 13:09:34 +02:00
Mateusz Pusz
d03d7291e4
Removed cmake/common submodule
2020-09-06 10:29:52 +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
5c98924efb
Downcasting reworked to allow OFF and AUTO modes
2020-08-19 13:37:57 +02:00
Mateusz Pusz
51b6d2f974
ms-gsl dependency added to handle Expects ( resolves #132 )
2020-08-17 20:27:45 +02:00
Mateusz Pusz
6f48085ea3
Development switched to 0.6.0
2020-05-17 11:47:01 +02:00
Mateusz Pusz
ce301748dd
Velocity renamed to Speed ( resolves #103 )
2020-05-10 17:31:47 +02:00
Johel Ernesto Guerrero Peña
598a617634
Fix minimum required CMake version
2020-05-09 09:49:20 +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
Mateusz Pusz
d4b755b3b7
CMake project renamed to mp-units
2020-05-05 20:56:47 +02:00
Mateusz Pusz
7bba350be0
Improved usage of the library as a dependency
2020-04-05 10:20:40 +02:00
Mateusz Pusz
645570ff57
Library updated to the latest cmake common tools
2020-01-31 17:02:27 +01:00
Mateusz Pusz
b27a422076
Preeliminary clang support added
2020-01-28 08:37:43 +01:00