73 Commits

Author SHA1 Message Date
20d58666fe docs: add reference documentations 2024-09-08 08:20:26 +02:00
2e557e4179 build: all CMake modules bumped to require at least CMake 3.15 2024-07-14 18:02:53 +02:00
c0f1ff701d build: additional options added to clang-tidy command and clang-tidy-18 hardcoded as an executable to use 2024-05-08 21:53:01 +02:00
75f719add7 refactor: code refactored to comply with clang-tidy 2024-05-08 11:12:38 +02:00
c066104af7 refactor: 💥 framework.h introduced + IWYU 2024-04-24 21:09:29 +02:00
e4ea668998 build: IWYU enabled on GCC 2024-04-24 20:10:44 +02:00
5c680199b8 build: IWYU path handling fixed 2024-04-24 12:43:56 +02:00
7c4d2cd5e4 build: CMAKE_VERIFY_INTERFACE_HEADER_SETS support added
Resolves #441
2024-01-12 12:30:57 +01:00
047b8a140a build: add_mp_units_module now use HEADER_SET 2024-01-06 08:51:01 +01:00
267db9e2a2 Update minimum cmake version to 3.5
Currently, cmake is emitting the following warning:

```
CMake Deprecation Warning at cmake/ccache.cmake:23 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.
```

Update the CMake min version to 3.5 to unclutter the build logs and ensure users don't get broken by the deprecation.
2023-12-16 11:51:58 -08:00
4b3e31f40d docs: initial V2 documenatation added 2023-06-21 10:55:18 +02:00
721f859dca Update cmake/TestHeaders.cmake
Co-authored-by: Johel Ernesto Guerrero Peña <johelegp@gmail.com>
2022-12-19 15:50:58 +01:00
b88843f6b2 include headers twice to check for header guards 2022-12-19 15:26:40 +01:00
e0d5e25104 build: new compilation warnings enabled
Refers to #385
2022-08-10 12:42:43 +02:00
25e868a16f docs: Some outdated TODO comments removed 2022-08-02 18:33:58 +02:00
98da140fae ci: pre-commit cmake-format checks fixed 2022-04-24 22:55:30 +02:00
be678e8ffa build: add_public_header_test() added and fixed Windows absolute header path issue 2022-04-24 22:23:16 +02:00
d18bf2229a test: standalone public headers tests added 2022-04-24 19:59:46 +02:00
cf7a7ed17a check: run pre-commit on all files 2022-04-02 18:58:23 +02:00
4c127797da check: run pre-commit on all files 2022-03-18 16:12:21 +01:00
7006dfcafb build: Sphinx documentation install step refactored 2021-11-05 23:55:24 +01:00
f9fb6cc8b3 build: projectPrefix usage added 2021-11-05 23:35:30 +01:00
54457b2457 style: typo fixed 2021-11-04 12:24:34 +01:00
6af61af935 Merge branch 'master' of github.com:mpusz/units 2021-06-08 18:00:57 +02:00
6593413081 build: CCACHE_BASEDIR is no longer set by default 2021-06-08 17:58:49 +02:00
4a9425d670 build: Replace file(REAL_PATH ...) with an alternative working with an older CMake versions
Resolves #282
2021-06-06 18:56:46 +02:00
c1cf800bd1 build: PROGRAM, QUIET, and REQUIRED options added for enable_iwyu() 2021-05-09 14:43:32 +02:00
cb5371dec9 build: enable_ccache() refactored 2021-05-09 13:56:19 +02:00
7b0730cf17 build: ccache support added 2021-05-08 18:28:49 +02:00
f4a8a1358e build: iwyu CMake script refactored 2021-05-07 20:46:40 +02:00
2e4b9483fa build: modern_project_structure.cmake added 2021-05-07 20:45:24 +02:00
a790863324 build: CMake 3.15 does not set default MSVC warning level anymore 2021-04-29 08:37:10 +02:00
3ee41d086c build: workaround to prefer FindDoxygen.cmake over Conan's generated doxygen-config.cmake 2021-04-06 19:09:26 +02:00
43b7eb466c build: AUTHOR_WARNING changed to WARNING in compiler warnings CMake 2021-03-30 13:22:03 +02:00
01935996e6 build: IWYU support added 2021-03-30 13:15:47 +02:00
9a520edfe9 refactor!: replace one_rep with reference<D, U> 2021-03-18 22:37:25 +01:00
c46ea4460f build: compiler warnings handling refactored for clang 2021-03-15 18:47:21 +01:00
94eb477f02 refactor: apply comments 2021-03-15 15:19:50 +01:00
23da1299d6 build: CMake scripts cleanup 2021-03-13 19:53:09 +01:00
a7f452cd12 refactor: Got rid of -Wsign-conversion warnings on UDLs
Refers to #226
2021-02-17 19:37:20 +01:00
02ea4825e8 docs: Compilation warnings handling refactored 2021-02-17 15:45:30 +01:00
6bf09aa646 feat: quantity_kind and quantity_point_kind 2021-02-15 19:31:08 +01:00
efeacca9ee fix: restore user-warnings within the library implementation 2021-02-06 21:20:31 +01:00
8100b6c13d build: scope parameter added to set_warnings() 2021-01-28 18:53:00 +01:00
a172f34684 build: Minimum CMake version required set for each file based on its contents 2020-12-21 22:56:00 +01:00
206712f046 build: Library renamed to mp::units 2020-12-17 23:06:37 +01:00
badc8568aa build: Common CMake scripts are no longer common 2020-12-16 19:18:06 +01:00
ff22bae04e build: CMake cleanup 2020-12-09 18:59:50 +01:00
1b92f2c7e0 build: Documentation generation cleaned up 2020-12-09 18:53:41 +01:00
c5919d2cd8 build: Conan generator changed to provide more transparent dependency handling 2020-12-09 18:49:39 +01:00