<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'>Here is the link: <a href="http://www.itk.org/Bug/print_bug_page.php?bug_id=8561">http://www.itk.org/Bug/print_bug_page.php?bug_id=8561</a><br>&nbsp;<BR><div><hr id="stopSpelling">From: laasunde@hotmail.com<br>To: marco.clemencic@cern.ch; cmake@cmake.org<br>Date: Thu, 12 Dec 2013 13:58:36 +0100<br>Subject: Re: [CMake] depend.make<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

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

--></style>
<div dir="ltr">Very interesting.<br>&nbsp;<br>Found this thread where Brad King is saying more or less the same thing (this is in 2009). Can anyone confirm this is still the case?<br><br>How can we filter out boost from depend.make? Using <a name="command:include_regular_expression" target="_blank"></a><code><strong>include_regular_expression</strong> only allows files filtering and that does not really help in this case.</code><br><code></code>&nbsp;<br><code>Regards,</code><br><code>Lars</code><br>&nbsp;<br><div>&gt; From: marco.clemencic@cern.ch<br>&gt; To: cmake@cmake.org<br>&gt; CC: laasunde@hotmail.com; nilsgladitz@gmail.com<br>&gt; Subject: Re: [CMake] depend.make<br>&gt; Date: Thu, 12 Dec 2013 12:03:06 +0100<br>&gt; <br>&gt; Hi,<br>&gt; <br>&gt; I cannot find it anymore in the documentation , but I remember to have read <br>&gt; that the dependency scanner of CMake does not take into account the <br>&gt; preprocessor conditionals (#ifdef, etc), thus producing a superset of the <br>&gt; actual dependencies.<br>&gt; It is quite probable that boost/tr1/iostream _may_ include the other headers <br>&gt; under some particular combination of preprocessor macros, so they are not used <br>&gt; at compile time, but they taken into account by CMake.<br>&gt; <br>&gt; Cheers<br>&gt; Marco<br>&gt; <br>&gt; On Thursday 12 December 2013 11:51:52 Lars wrote:<br>&gt; &gt; Thank you for your feedback.<br>&gt; &gt; <br>&gt; &gt; This however only explain part of the issue as far as I can tell. To debug<br>&gt; &gt; the issue I added #pragma message("boost tr1 iostream")<br>&gt; &gt; at the top of the boost/tr1/iostream file. When building the source that<br>&gt; &gt; message is shown in the console windows which then indicate the compiler<br>&gt; &gt; has accessed the file. So far so good. I then did the same "trick" with<br>&gt; &gt; boost/aligned_storage.hpp, boost/array.hpp and boost/assert.hpp which are<br>&gt; &gt; the three first boost reference in depend.make and none of them not show up<br>&gt; &gt; during building.<br>&gt; &gt; <br>&gt; &gt; So why are these files included in the depend.make?<br>&gt; &gt; <br>&gt; &gt; Regards,<br>&gt; &gt; Lars<br>&gt; &gt; Date: Wed, 11 Dec 2013 16:08:28 +0100<br>&gt; &gt; From: nilsgladitz@gmail.com<br>&gt; &gt; To: laasunde@hotmail.com; cmake@cmake.org<br>&gt; &gt; Subject: Re: [CMake] depend.make<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt;     On 11.12.2013 12:53, Lars wrote:<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt;         Here is the source code used (which does not use the Boost<br>&gt; &gt;         library).<br>&gt; &gt; <br>&gt; &gt;         #include &lt;iostream&gt;<br>&gt; &gt; <br>&gt; &gt;         int main(int argc, char **argv)<br>&gt; &gt; <br>&gt; &gt;         {<br>&gt; &gt; <br>&gt; &gt;           std::cout &lt;&lt; "Hello world" &lt;&lt; std::endl;<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt;           return 0;<br>&gt; &gt; <br>&gt; &gt;         }<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt;     ${Boost_INCLUDE_DIR}/boost/tr1/tr1 does seem to contain an<br>&gt; &gt;     "iostream" header which your #include &lt;iostream&gt; probably<br>&gt; &gt;     picks up.<br>&gt; &gt; <br>&gt; &gt;     Maybe that further includes the other boost headers?<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt;     Nils<br>&gt; <br></div>                                               </div>
<br>--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake</div>                                               </div></body>
</html>