Mateusz Pusz
3cd5a7dd42
build: CMake dependencies handling improved for the freestanding mode
2024-05-30 20:50:11 +02:00
Mateusz Pusz
cd36e6f974
feat: freestanding support added
...
Resolves #564 , #565 , and #556
2024-05-30 19:50:02 +02:00
Mateusz Pusz
a6562acde5
feat: allow configuring GSL library use
...
Resolves #576
2024-05-30 12:23:14 +02:00
Mateusz Pusz
fbe3cec982
feat: 💥 core.h removed
2024-04-25 16:09:00 +02:00
Mateusz Pusz
c066104af7
refactor: 💥 framework.h introduced + IWYU
2024-04-24 21:09:29 +02:00
Mateusz Pusz
8e0a26b933
feat: 💥 API-related Conan, CMake, and preprocessor options redesigned
2024-04-16 21:48:36 +01:00
Mateusz Pusz
5ca9168381
feat: proper exports implemented for C++ modules
2024-02-23 21:09:17 +01:00
Mateusz Pusz
0035015133
build: CMake header sets require at least 3.23
2024-02-15 22:22:35 +01:00
Mateusz Pusz
cc9947bd8b
refactor: 💥 MP_UNITS_USE_LIBFMT renamed to MP_UNITS_USE_FMTLIB
2024-01-12 14:18:57 +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
4960011ca5
fix: cxx_std_20 set for mp-units::core
2024-01-06 08:51:01 +01:00
Mateusz Pusz
44c557ff4b
refactor: add_units_module renamed to add_mp_units_module and target_name parameter added
2024-01-06 08:51:01 +01:00
Mateusz Pusz
fb8552b1d9
refactor: core-fmt and core-ostream modules merged with core
2024-01-06 08:51:01 +01:00
Mateusz Pusz
0eaf6e2e56
refactor: modules support redesigned
2024-01-06 08:51:01 +01:00
Mateusz Pusz
4069481331
refactor: math_core.h moved back to the utility directory
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
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