On Mon, Nov 24, 2008 at 7:39 AM, Armin Berres <span dir="ltr"><<a href="mailto:trigger@space-based.de">trigger@space-based.de</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Sat, 22 Nov 08 12:47, Philip Lowman wrote:<br>
> On Sat, Nov 22, 2008 at 8:12 AM, Armin Berres <<a href="mailto:trigger@space-based.de">trigger@space-based.de</a>>wrote:<br>
><br>
> > PS:<br>
> > What I'd reallylike to know is if it is possible to prevent the creation<br>
> > of the Source/Header folders. With source groups it is just possible to put<br>
> > files in a subdirectory, but I want some files directly in the project<br>
> > root.<br>
><br>
><br>
> For this, simply set the folder name to ""<br>
<br>
</div></div>That't the behaviour I would expect, but sadly it doesn't work. I just<br>
checked with CMake 2.6.2 and "" leads to created Source and Header<br>
folders.</blockquote><div><br>Works for me. Puts files in the root of the "bar" project:<br><br>PROJECT(foo)<br>SOURCE_GROUP("" FILES bar.h bar.cc)<br>ADD_EXECUTABLE(bar bar.h bar.cc)<br></div></div>
<br>-- <br>Philip Lowman<br>