Commit Graph

234 Commits

Author SHA1 Message Date
c887b11e6f style: pre-commit rules updated 2024-12-28 14:02:22 +01:00
43729c6190 Enable use of std::format for AppleClang / Xcode 16
Specified the minimum apple-clang version to support `std::format` to 16
for _connanfile.py_.  Xcode 16 does include the `<format>` header but
does not seem to have the __cpp_lib_format compatibility macro defined
so a similar override was needed as we had for Clang 17.

To be able to use `std::format` with Xcode 16 I had to pass
`-DMP_UNITS_API_STD_FORMAT=AUTO` when calling `cmake`.  Is this expected
or is this a sign I missed something in my changes to _CMakeLists.txt_?
2024-12-19 12:54:55 -05:00
82d12a8a74 build: require at least CMake 3.31 with Conan 2024-11-18 14:45:27 +01:00
7b64b4b650 refactor: 💥 from now unit_symbol and dimension_symbol always returns std::string_view 2024-11-16 09:57:53 +01:00
83941d9575 build(conan): default values for Conan options changed 2024-09-27 12:53:23 +02:00
3fc7ecc316 build(conan): packaging improved 2024-09-27 12:12:26 +02:00
5f2cb78037 build: package_type is dynamically set in conanfile.py depending if we build modules or not 2024-09-27 07:53:13 +02:00
bbef4f903b build: catch2 dependency updated to 3.7.0 2024-09-24 09:37:39 +02:00
4492d42b91 Revert "build: package_type is dynamically set in conanfile.py depending if we build modules or not"
This reverts commit bbdb750362.
2024-09-20 17:05:52 -06:00
e6c65d6c89 build: MP_UNITS_BUILD_IMPORT_STD CMake option removed 2024-09-20 09:34:38 -06:00
bbdb750362 build: package_type is dynamically set in conanfile.py depending if we build modules or not 2024-09-19 17:02:30 -06:00
831c017a22 build: std_format enabled for MSVC 2024-09-17 20:14:57 -06:00
4b61716bb4 💥 [msvc][conan] enable msvc with version 194. 2024-09-03 09:59:29 +02:00
1788d9616f build: CMake's verify_header_sets disabled for import std; 2024-07-29 11:20:15 +02:00
9448ef52b9 fix: std_format Conan option can be removed in configure 2024-07-29 10:25:09 +02:00
f5eda4a25b fix: bump minimum conan version required
Resolves #600
2024-07-24 22:44:51 +02:00
fb9043b649 fix: setting of MP_UNITS_BUILD_IMPORT_STD in generate() added 2024-07-16 20:51:59 +02:00
b870b85c25 feat: import std; support added
Resolves #595
2024-07-16 17:36:00 +02:00
a4691825ee build: conanfile bumped to use fmt/11.0.1 2024-07-16 12:16:04 +02:00
180358814f build: conanfile bumped to use catch2/3.6.0 2024-07-16 12:14:40 +02:00
175fd04c3a fix: LA library bug workaround
Blocked by BobSteagall/wg21#77
2024-07-11 19:18:28 +02:00
9df601f522 build: fmt updated to 11.0.0 2024-07-05 14:03:39 +01:00
e0becc97a8 style: pre-commit styling 2024-07-03 19:30:21 +01:00
de1381748c feat: 💥 Conan and CMake options changed as requested at ConanCenter code review 2024-07-03 18:45:19 +01:00
3e863b2d20 build: conanfile updated after review on ConanCenter 2024-06-20 14:56:54 +02:00
3d5a6368d8 build(conan): mssing preprocessor defines added to package_info()
Resolves #581
2024-06-10 22:06:48 +02:00
bb3b9c4a19 build(conan): freestanding support refactored 2024-06-10 22:06:06 +02:00
278edef4cc build: some Conan dependencies disabled for a freestanding build 2024-05-30 20:14:11 +02:00
cd36e6f974 feat: freestanding support added
Resolves #564, #565, and #556
2024-05-30 19:50:02 +02:00
6486c85773 ci: clang-tidy CI added 2024-05-30 15:00:25 +02:00
0889286b12 fix(conan): core component added unconditionally 2024-05-30 13:11:39 +02:00
a6562acde5 feat: allow configuring GSL library use
Resolves #576
2024-05-30 12:23:14 +02:00
30a23b4c21 build: tc.absolute_paths moved out from build_all 2024-05-24 09:39:15 +02:00
f227cdd227 build: tc.absolute_paths = True set to enable CMake CI 2024-05-24 09:36:29 +02:00
999012dd97 build: CMAKE_EXPORT_COMPILE_COMMANDS flag enabled for the developer's build 2024-05-08 12:16:37 +02:00
94b4d0a3e3 fix: bugs introduced by the flake8 recommendations fixed and those warnings are ignored from now on 2024-04-17 11:40:24 +01:00
23c4e0e45c fix: fmtlib handling in package_info() fixed 2024-04-16 22:08:03 +01:00
8e0a26b933 feat: 💥 API-related Conan, CMake, and preprocessor options redesigned 2024-04-16 21:48:36 +01:00
7b57ce5ab1 build: 💥 MP_UNITS_BUILD_LA and MP_UNITS_IWYU CMake options now have _DEV_ in the name 2024-04-12 09:43:02 +02:00
19193577eb build: CTest usage with --output-on-failure enabled in conanfile 2024-02-27 09:46:22 +01:00
792bd2c191 style: small formatting cleanup of conanfile.py 2024-02-17 23:02:00 +01:00
d4f41bb513 refactor: _min_cppstd replaced with an inlined version 2024-02-17 23:00:23 +01:00
aacdf6770b build(conan): can_run check added before running tests 2024-02-17 22:47:46 +01:00
8cb8416ea5 build(conan): generate() now set cache_variables 2024-02-17 22:46:24 +01:00
862e39ec97 refactor: 💥 Conan config options renamed to user.mp-units.* 2024-02-10 12:19:44 +01:00
c65d83c62b style: too long line in conanfile.py issue fixed 2024-01-23 23:28:35 +01:00
8e52792aad build: _std_format_minimum_compilers_version added 2024-01-23 23:08:14 +01:00
9b98fcb118 build: use_fmtlib build option default set to False 2024-01-23 22:36:56 +01:00
dc73e40926 build: unused Python import removed 2024-01-23 21:59:28 +01:00
55bf9a9c1d feat: use_fmtlib Conan option added 2024-01-12 14:26:21 +01:00