<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=utf-8">
<meta name="x_Generator" content="Microsoft Word 15 (filtered medium)">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:x_link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:x_visited, span.x_MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
.x_MsoChpDefault
        {}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-CA" link="blue" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal">Thank you, I will try this.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">
Mail</a> for Windows 10</p>
<p class="x_MsoNormal"> </p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Brad King <brad.king@kitware.com><br>
<b>Sent:</b> Thursday, March 29, 2018 2:46:32 PM<br>
<b>To:</b> Michal Wozniak<br>
<b>Cc:</b> cmake-developers@cmake.org<br>
<b>Subject:</b> Re: [cmake-developers] clang-tidy third party library exclude ?</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:11pt;">
<div class="PlainText">On 03/29/2018 02:38 PM, Michal Wozniak wrote:<br>
> I thought of adding clang-tiny to our build process.<br>
> Is it possible to exclude third-party libraries?  <br>
<br>
The variable used to activate it:<br>
<br>
  <a href="https://cmake.org/cmake/help/v3.11/variable/CMAKE_LANG_CLANG_TIDY.html">
https://cmake.org/cmake/help/v3.11/variable/CMAKE_LANG_CLANG_TIDY.html</a><br>
<br>
works by initializing a property used to activate it:<br>
<br>
  <a href="https://cmake.org/cmake/help/v3.11/prop_tgt/LANG_CLANG_TIDY.html">https://cmake.org/cmake/help/v3.11/prop_tgt/LANG_CLANG_TIDY.html</a><br>
<br>
as each target is created.  If in the third-party subdirectory<br>
you set the variable to empty then none of its targets will get<br>
the behavior.<br>
<br>
-Brad<br>
</div>
</span></font>
</body>
</html>