build: IWYU support added
This commit is contained in:
1 parent
5251a8a241
commit
01935996e6
8 files changed
+194
-15
No files matched your search
@@ -159,6 +159,16 @@ UNITS_DOWNCAST_MODE
|
||||
Equivalent to `downcast_mode`_.
|
||||
|
||||
|
||||
UNITS_AS_SYSTEM_HEADERS
|
||||
+++++++++++++++++++++++
|
||||
|
||||
**Values**: ``ON``/``OFF``
|
||||
|
||||
**Defaulted to**: ``OFF``
|
||||
|
||||
Exports library as system headers.
|
||||
|
||||
|
||||
UNITS_BUILD_DOCS
|
||||
++++++++++++++++
|
||||
|
||||
@@ -169,6 +179,17 @@ UNITS_BUILD_DOCS
|
||||
Enables project documentation generation.
|
||||
|
||||
|
||||
UNITS_IWYU
|
||||
++++++++++
|
||||
|
||||
**Values**: ``ON``/``OFF``
|
||||
|
||||
**Defaulted to**: ``OFF``
|
||||
|
||||
Enables include-what-you-use when compiling with a clang compiler.
|
||||
Additionally turns on `UNITS_AS_SYSTEM_HEADERS`.
|
||||
|
||||
|
||||
Installation and Reuse
|
||||
----------------------
|
||||
|
||||
|
||||
Reference in new issue
Block a user