<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>I'm currently trying to use the following line to include all source files into my build:<br><br>file (GLOB_RECURSE Files_CPP *.cpp)<br>add_executable(test<br> ${Files_CPP}<br>)<br><br>Everything runs fine while using an out-of-source build, but for in-source builds these lines include .cpp files from the CMakeFiles directory. Is there any way to exclude this directory within the file command?<br><br>Best regards,<br>Andreas<br>                                            <br /><hr />Räumen Sie Ihr Postfach auf - <a href='http://redirect.gimas.net/?n=M1007HM1' target='_new'>ganz einfach mit Hotmail!</a></body>
</html>