Mateusz Pusz
f9ae701b4e
fix: MP_UNITS_BUILD_IMPORT_STD verification fixed
2024-07-17 21:31:28 +02:00
Mateusz Pusz
2411a7ef12
build: minimum required CMake version bumped to 3.25
...
Resolves #597
2024-07-16 20:35:05 +02:00
Mateusz Pusz
2e1e4f122a
chore: update CMakeLists.txt option description for building as system headers
2024-07-16 17:37:19 +02:00
Mateusz Pusz
b870b85c25
feat: import std; support added
...
Resolves #595
2024-07-16 17:36:00 +02:00
Mateusz Pusz
e0becc97a8
style: pre-commit styling
2024-07-03 19:30:21 +01:00
Mateusz Pusz
de1381748c
feat: 💥 Conan and CMake options changed as requested at ConanCenter code review
2024-07-03 18:45:19 +01:00
Mateusz Pusz
771d4c2e99
build: version bumped to 2.3.0
2024-06-14 16:03:27 +02:00
Mateusz Pusz
b7f09dbf34
style: cmake-format
2024-06-14 09:12:05 +02:00
Mateusz Pusz
d746817c66
build: overriding of std::format support for clang-17+ with libc++ added
2024-06-14 09:00:14 +02:00
Mateusz Pusz
e382435b98
build: mp-units-contracts CMakeTarget added to reuse contract definition in different separate targets
...
Refers to #581
2024-06-06 14:07:16 +02:00
Mateusz Pusz
2876ae1ebd
build: CMake API parameter values handling and documentation improved
...
Relates to #581
2024-06-05 08:27:48 +02:00
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
79a1d61c5c
fix: handling of MP_UNITS_BUILD_CXX_MODULES fixed
2024-04-25 19:33:30 +02:00
Mateusz Pusz
2a05f931e7
build: MP_UNITS_BUILD_AS_SYSTEM_HEADERS restored (but renamed)
2024-04-24 20:17:39 +02:00
Mateusz Pusz
8e0a26b933
feat: 💥 API-related Conan, CMake, and preprocessor options redesigned
2024-04-16 21:48:36 +01:00
Mateusz Pusz
532b9e53d4
build: check_cxx_feature_supported added
2024-02-17 22:43:48 +01:00
Mateusz Pusz
0035015133
build: CMake header sets require at least 3.23
2024-02-15 22:22:35 +01:00
Mateusz Pusz
9b98fcb118
build: use_fmtlib build option default set to False
2024-01-23 22:36:56 +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
e23be9aab5
fix: MP_UNITS_USE_LIBFMT was lost during refactoring
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
ea8450df9d
build: _LIBCPP_NO_ABI_TAG define set for clang-17 modules build
2024-01-06 08:51:01 +01:00
Mateusz Pusz
50c8f0a20d
build: projectPrefix applied to preprocessor define
2024-01-06 08:51:01 +01:00
Mateusz Pusz
c0f264cae9
fix: mp-units-core-module now links with mp-units::utility
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
217048857a
build: project version updated to 2.2.0
2023-12-09 19:03:45 +01:00
Mateusz Pusz
4bde31ee22
build: mp-units version bumped to 2.1.0
2023-09-24 20:38:10 +02:00
Mateusz Pusz
ba1f58af76
refactor: All the macros refactored to have MP_UNITS_ prefix
2023-06-21 18:05:21 +02:00
Mateusz Pusz
eea3cbe52d
style: whitespaces cleanup to make pre-commit happy
2023-06-14 22:35:21 +03:00
Mateusz Pusz
7d37e656cb
chore: merge issues fixed
2023-06-14 21:15:27 +03:00
Mateusz Pusz
e2bd12750b
Merge commit 'ec04d9c03ddf12e46dca5348d4ca57b526e425f1'
2023-06-14 21:13:07 +03:00
Mateusz Pusz
e3f641c2bb
fix: LA support fixed
2023-05-12 11:48:33 +02:00
Mateusz Pusz
febc95d319
build: Library version set to 2.0.0
2023-04-21 15:02:21 +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
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