<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>That sounds like a decent solution from my point of view. <BR>&nbsp;<BR>I will create an issue for this topic.<BR>&nbsp;<BR>Regards,<BR>Lars<br>&nbsp;<BR><div><hr id="stopSpelling">Date: Fri, 13 Dec 2013 10:53:49 +0100<br>From: nilsgladitz@gmail.com<br>To: laasunde@hotmail.com; bill.hoffman@kitware.com; cmake@cmake.org<br>Subject: Re: [CMake] depend.make<br><br>
  
    
  
  
    <div class="ecxmoz-cite-prefix">On 13.12.2013 10:43, Lars wrote:<br>
    </div>
    <blockquote cite="mid:DUB112-W68E60B4239071223380E63CADF0@phx.gbl">
      <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
      <div dir="ltr">Using the include_regular_expression macro&nbsp;made a
        huge difference. The build time was reduced by more than 50%.<br>
        &nbsp;<br>
        The regular expression appear to be only&nbsp;applied to part of
        the&nbsp;dependency file path. So in the case of Boost this
        works&nbsp;pretty&nbsp;well for us because we use&nbsp;#include
        &lt;boost/filesystem.hpp&gt; but more difficult&nbsp;to remove qt
        dependency&nbsp;like&nbsp;#include &lt;QDir&gt;.&nbsp;How do you view adding a
        feature that&nbsp;allow&nbsp;applying regex to the&nbsp;absolute path?
        Secondly,&nbsp;the documentation of include_regular_expression&nbsp;should
        probably mention&nbsp;something about the target string (relative
        path, not absolute).<br>
      </div>
    </blockquote>
    Maybe CMake could filter out includes in system directories (like
    gcc -MM does).<br>
    System directories in this case could be directories added with e.g.
    include_directories(SYSTEM).<br>
    <br>
    Nils<br></div>                                               </div></body>
</html>