<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br>thanks for your reply.<br><br>&gt; 1. Never use GLOB_RECURSE. It's evil. E.g. if you add or remove source files, CMake has no way of knowing that it should be re-run.<br>I have tested rerunning cmake manually and it worked out well. (Testcase: I added a new .cpp file to the build) I either have to change the CMakeLists.txt or to rerun cmake manually. Seems to be the same effort for me.<br><br>&gt; 2. Never do in-source builds. CMake creates many, many files, and you don't want to delete them all individually for a clean build. And there's no way to implement a safe "make clean" (e.g. your build system might be running a custom utility which generates files CMake knows nothing about).<br><br>I know these problems. I will never do an in-source-build again :-) But unfortunately, I have to support in-source builds, too.<br><br>Best regards,<br>Andreas<br>                                               <br /><hr />Künftig E-Mails über Hotmail  <a href='http://redirect.gimas.net/?n=M1007HMTL2' target='_new'>ohne Werbung versenden!</a></body>
</html>