Commit Graph

56 Commits

Author SHA1 Message Date
Mateusz Pusz
52ce2b21f7 refactor: iostream.h renamed to ostream.h 2023-06-23 15:03:04 +02:00
Mateusz Pusz
879ec35d84 build: conan test_package updated for V2 2023-05-26 15:57:14 +02:00
Mateusz Pusz
561fbf7c93 merge branch master 2023-05-26 13:53:52 +02:00
Mateusz Pusz
804d4e1cd4 build(conan): cmake_layout support added 2022-08-01 18:29:03 +02:00
Mateusz Pusz
a2a50622a4 style: test_package/conanfile.py reformatted to make pre-commit happy 2022-05-13 18:35:25 +02:00
Mateusz Pusz
8c0f9d4f8e build: test_package/conanfile.py updated for Conan 2.0 2022-05-12 17:12:35 +02:00
Markus Hofbauer
9365344a60 apply python isort 2022-05-12 14:00:18 +02:00
Mateusz Pusz
ac8e32fcda feat: Conan 2.0 requires the explicit declaration of the requirement being tested 2022-04-15 17:07:55 +02:00
Markus Hofbauer
cf7a7ed17a check: run pre-commit on all files 2022-04-02 18:58:23 +02:00
Mateusz Pusz
7730e76fb7 build: test_package/conanfile.py cleanup 2022-03-14 19:27:25 +01:00
Mateusz Pusz
32868c9721 build: CMake generator is no longer obtained from an enviornment variable
Use Conan's `tools.cmake.cmaketoolchain:generator` `[conf]` option to set required generator
2021-09-09 09:01:05 +02:00
Mateusz Pusz
2c8c6c2e98 refactor: quantity cration helpers are not opt-out rather than opt-in
Resolves #277
2021-05-09 15:52:20 +02:00
Mateusz Pusz
d7582ff344 ci: generator setting for a CMakeToolchain added in test_package 2021-04-29 12:56:13 +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
63682c99c5 ci: Conan test_package fixed to use references rather than UDLs 2021-04-01 13:20:24 +02:00
Mateusz Pusz
590044b9f2 build: set CXX as a language for test_package CMake project 2021-03-19 12:56:56 +01:00
Mateusz Pusz
bbbb77286c refactor: physical replaced with isq
Refers to #249
2021-03-16 12:03:25 +01:00
Mateusz Pusz
23720d055e refactor: Refactored the library file tree
Resolves #249
2021-03-16 09:32:28 +01:00
Mateusz Pusz
8f04bd9cfe build: mp::units CMake target was a bad idea -> mp-units::mp-units is back 2021-02-15 17:06:09 +01:00
Mateusz Pusz
df4fe0bc57 build: CMakeDeps support added 2021-01-28 18:51:48 +01:00
Mateusz Pusz
1108e13cab build: test_package swithced to use new Conan toolchains 2021-01-28 14:12:13 +01:00
Mateusz Pusz
cff718301c refactor: quantity_io added 2020-12-28 15:18:36 +01:00
Mateusz Pusz
56c2d5090b test: test_package made compatible with the VS2019 2020-12-23 20:22:13 +01:00
Mateusz Pusz
0702a005a7 Revert "test: {fmt} dependency check added in test_package"
This reverts commit 310f344598.
2020-12-22 00:28:35 +01:00
Mateusz Pusz
310f344598 test: {fmt} dependency check added in test_package 2020-12-22 00:20:23 +01:00
Mateusz Pusz
792dba28fb build: test_package CI build fixed 2020-12-22 00:16:48 +01:00
Mateusz Pusz
a172f34684 build: Minimum CMake version required set for each file based on its contents 2020-12-21 22:56:00 +01:00
Mateusz Pusz
206712f046 build: Library renamed to mp::units 2020-12-17 23:06:37 +01:00
Mateusz Pusz
6a23718969 build: Conan test_package fixed 2020-12-16 21:54:43 +01:00
Mateusz Pusz
6e510b3a2a refactor: modules-like behavior for systems removed to improve broken compile-time
Reffers to #32
2020-09-13 00:11:02 +02:00
Mateusz Pusz
c5cf329ed0 fix: Conan test_package fixed 2020-09-11 21:46:05 +02:00
Mateusz Pusz
7d204a1177 build(cmake): mp-units-config.cmake file added with explicit dependencies
Addresses some of the issues mentioned in #156.
2020-09-10 15:22:04 +02:00
Mateusz Pusz
9527b39005 refactor: 💥 q_* UDL renamed to _q_*
We had some fun exploring the STD UDLs for potential collisions,
we have learnt our lesson and know how to proceed.
Now is high time to start behaving and obeying C++ rules.
2020-09-09 19:20:35 +02:00
Mateusz Pusz
4bb51586dc refactor: got rid of gcc-9 backlog
BREAKING CHANGE: gcc-9.3 no longer supported
2020-09-08 13:09:34 +02:00
Mateusz Pusz
44b54c290d test_package fixed 2020-09-06 12:36:49 +02:00
Mateusz Pusz
32779e01f0 Build system refactored to be comatible with ConanCenter 2020-09-06 00:00:06 +02:00
Mateusz Pusz
62434507a2 test_package fixed 2020-05-10 22:59:16 +02:00
Mateusz Pusz
ce301748dd Velocity renamed to Speed (resolves #103) 2020-05-10 17:31:47 +02:00
Mateusz Pusz
7e935a4108 Physical units put in the physical namespace (I am sorry) 2020-05-08 22:39:24 +02:00
Mateusz Pusz
18620044c5 All UDLs are now prefixed with q_ 2020-02-17 15:56:06 +01:00
Mateusz Pusz
3cc686e730 Conan test_package fixed 2020-02-10 18:43:27 +01:00
Mateusz Pusz
62164e426a conan test_package fixed 2019-12-11 08:34:16 +01:00
Mateusz Pusz
b2f33c6dfa Example and test package code changed to use text formatting 2019-10-19 00:08:25 +02:00
Mateusz Pusz
1d476a3f69 Added compile_flags setting to test_package to ensure that the dependency imported with Conan will compile with restrictive warning flags 2019-09-30 11:12:50 +02:00
Mateusz Pusz
c3d7359ca3 units removed from a std::experimental namespace 2019-09-18 21:55:16 -06:00
Mateusz Pusz
7d70e6b1ce Predefined dimensions moved to a dedicated directory 2019-08-06 10:44:25 +02:00
Mateusz Pusz
22e0089c77 Conan test package build fixed 2019-07-24 13:28:07 +02:00
Mateusz Pusz
98203afa29 units moved to std::experimental namespace 2019-07-24 11:58:15 +02:00
Mateusz Pusz
aca7861faf cppstd moved to compiler.cppstd 2019-05-08 15:09:42 -06:00
Mateusz Pusz
e5ee2cd381 Conan is able to set C++ version when cppstd is used 2019-05-08 12:11:43 -06:00