Hi,
I implemented the integration of `clang-tidy` along the lines of the
`include-what-you-use` integration.
There is a new `_CLANG_TIDY` target property that is initialized
with the value of the `CMAKE__CLANG_TIDY` variable.
It contains the command line for `clang-tidy` as a ;-list.
Example
The following issue has been SUBMITTED.
==
https://cmake.org/Bug/view.php?id=16056
==
Reported By:johnnyzz
Assigned To:
That is completely fair. Perhaps a bit of Friday brain from me. It still could
reduce complexity if you are trying to do something more complicated.
In my opinion A is easier to read than B.
A: if ( $1 STRGREATER_EQ $2 AND $3 STRLESS $4 AND $5 STRLESS_EQ $6 )
B: if ( NOT $1 STRLESS $2 AND $3
On 04/08/2016 10:24 AM, Harry Mallon wrote:
> "if(VERSION_STRING VERSION_GREATER "4.8.0" OR VERSION_STRING VERSION_EQUAL
> "4.8.0")".
As others have said this can be done with
if(NOT version VERSION_LESS 4.8.0)
> Commit on github:
>
On Fri, Apr 08, 2016 at 14:24:08 +, Harry Mallon wrote:
> CMake's "if" functionality is missing greater than or equal to and
> less than or equal to. This change could be tweaked and added to
> provide this functionality to avoid things like "if(VERSION_STRING
> VERSION_GREATER "4.8.0" OR
Am Freitag, 8. April 2016, 14:24:08 schrieb Harry Mallon:
> CMake's "if" functionality is missing greater than or equal to and less than
> or equal to. This change could be tweaked and added to provide this
> functionality to avoid things like "if(VERSION_STRING VERSION_GREATER
> "4.8.0" OR
CMake's "if" functionality is missing greater than or equal to and less than or
equal to. This change could be tweaked and added to provide this functionality
to avoid things like "if(VERSION_STRING VERSION_GREATER "4.8.0" OR
VERSION_STRING VERSION_EQUAL "4.8.0")".
Commit on github: