Commit Graph
40 Commits
Author SHA1 Message Date
Mateusz Pusz c9978dd479 refactor: some internal headers moce to the _bits/external_ subdirectory 2023-10-14 11:43:18 +02:00
Mateusz Pusz 25fee701a0 build: got rid of old clang hacks and range-v3 dependency 2023-09-26 18:09:06 +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 7d9ae3ec31 refactor: mp_units subdirectory renamed to mp-units 2023-05-25 12:47:10 +02:00
Mateusz Pusz aa15d4dfb4 build: ratio_maths.h removed from CMake build 2023-04-21 15:01:28 +01:00
Mateusz Pusz 195f9c13b9 feat: get_common_base() added 2023-02-13 18:14:46 +01:00
Mateusz Pusz fbc34c8b98 refactor: get_associated_quantity.h moved to a dedicated header file 2023-02-08 21:05:31 -08:00
Mateusz Pusz 0b053933bd feat: core.h header added 2023-02-03 16:51:26 +01:00
Mateusz Pusz b4f47c3fef feat: value_cast support added
Resolves #239 and #120
2023-02-03 11:08:13 +01:00
Mateusz Pusz cf3408a3c8 refactor: implementation cleanup + support for units as references started 2023-02-02 14:56:29 +01:00
Mateusz Pusz 2cf736a1e6 feat: preventing possible future units crash when using namespace std;
Resolves #317
2022-12-29 20:18:48 +01:00
Mateusz Pusz daf6d2fb7a refactor: downcasting-specific build options removed 2022-12-25 17:30:08 +01:00
Mateusz Pusz 1cec3d4867 refactor: _chrono.h_, _math.h_, and _random.h_ move to utlitity CMake module 2022-12-25 17:20:44 +01:00
Mateusz Pusz 7a26125e16 refactor: public headers cleanup
Public headers should be only the ones that a user may have a need to actually include in his/her code.
2022-12-19 14:55:54 +01:00
Mateusz Pusz 92c70f1a4e feat: quantity_spec support added 2022-12-16 18:15:48 +01:00
Mateusz Pusz 649252d691 refactor: system_reference moved to a dedicated header file 2022-11-09 18:33:39 -10: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 e40a5d631c feat: solid angle support added 2022-09-01 12:16:47 +02:00
Mateusz Pusz 98da140fae ci: pre-commit cmake-format checks fixed 2022-04-24 22:55:30 +02: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
Frank Dischner 771a400007 build: add support for AppleClang compiler 2022-01-26 18:18:51 -06:00
Mateusz Pusz d7ee8f23a8 build: Conan finally fixed gsl-lite
Relates to #318
2022-01-25 13:30:01 +01:00
Johel Ernesto Guerrero Peña 4efed3c6d4 refactor: update Clang 14 to not require range-v3 (#321)
* Revert "refactor: update hacks for LLVM 14"

This reverts commit d142844de7.

* refactor: update Clang 14 to not require range-v3
2021-12-13 10:01:16 +01:00
Mateusz Pusz 44a8d0ad1e build: forgot to commit changes in one CMake file :-( 2021-11-07 09:42:15 +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 2333c4b3ea build: CMake targets generated by Conan updated 2021-11-04 12:09:54 +01: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 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 4ef4c1ea1f build: CONFIG REQUIRED added for range-v3 2021-03-18 08:18:18 +01:00
Mateusz Pusz f2b52e9743 Merge branch 'master' of github.com:mpusz/units 2021-03-17 13:46:59 +01:00
Mateusz Pusz 37473eb8ad refactor: core-io and core-fmt separate modules added 2021-03-17 13:46:28 +01:00
Johel Ernesto Guerrero Peña 229d303319 refactor: add portable diagnostic pragmas 2021-03-17 08:46:05 +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