Mateusz Pusz
dc847ca360
build: CheckCacheVarValues CMake module file added
2024-11-17 13:34:04 +01:00
Mateusz Pusz
64056ee321
build: target_compile_features now uses CMAKE_CXX_STANDARD
2024-09-19 14:50:32 -06:00
Mateusz Pusz
e9284652ab
build: target_include_directories is not needed anymore
2024-09-19 14:47:36 -06: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
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
a6562acde5
feat: allow configuring GSL library use
...
Resolves #576
2024-05-30 12:23:14 +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
8e2a3c6340
style: CheckCXXFeatureSupported.cmake reformatted to make pre-commit happy
2024-02-17 22:50:47 +01:00
Mateusz Pusz
762f56d865
build: include_guard added to AddMPUnitsModule
2024-02-17 22:44:30 +01:00
Mateusz Pusz
532b9e53d4
build: check_cxx_feature_supported added
2024-02-17 22:43:48 +01:00
Mateusz Pusz
54dbeea68b
style: AddMPUnitsModule reformatted with cmake-format
2024-02-16 17:02:56 +01:00
Mateusz Pusz
c24a0c060d
build: add_mp_units_module improved
2024-02-15 22:20:46 +01:00
Mateusz Pusz
09873c203c
fix: setting cxx_std_20 fixed for library modules
2024-01-08 13:11:05 +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
53e25582e6
fix: target_sources with FILE_SET HEADERS called only when headers are present
2024-01-06 09:14:42 +01:00
Mateusz Pusz
047b8a140a
build: add_mp_units_module now use HEADER_SET
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
0eaf6e2e56
refactor: modules support redesigned
2024-01-06 08:51:01 +01: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
7d9ae3ec31
refactor: mp_units subdirectory renamed to mp-units
2023-05-25 12:47:10 +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
212c9e05f2
build: check_libcxx_in_use() fixed
2021-11-06 10:35:44 +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
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
3f45da5882
fix: Switched to check_cxx_symbol_exists() for libcxx detection
2021-03-19 12:56:32 +01: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