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.
This commit is contained in:
Mateusz Pusz
2021-04-01 09:36:55 +02:00
parent 309da80c32
commit 9054420d08
94 changed files with 371 additions and 13 deletions
+19
View File
@@ -123,6 +123,15 @@ It also runs unit tests during Conan build.
Conan Options
^^^^^^^^^^^^^
udls
++++
**Values**: ``True``/``False``
**Defaulted to**: ``True``
Determines if library should provide User Defined Literals (UDLs) for quantities of various units.
downcast_mode
+++++++++++++
@@ -149,6 +158,16 @@ Additionally, enables project documentation generation when the project is being
CMake Options
^^^^^^^^^^^^^
UNITS_UDLS
+++++++++++++++++++
**Values**: ``ON``/``OFF``
**Defaulted to**: ``ON``
Equivalent to `udls`_.
UNITS_DOWNCAST_MODE
+++++++++++++++++++