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