On Mon, Nov 24, 2008 at 9:44 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 class="Ih2E3d">On Mon, 24 Nov 08 08:38, Philip Lowman wrote:<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>
<br>
</div>Ah, ok. What I am trying is more or less the following:<br>
<br>
PROJECT(foo)<br>
source_group("" REGULAR_EXPRESSION "src/[^/]+$")<br>
ADD_EXECUTABLE(bar src/bar.h src/bar.cc)</blockquote><div><br>Post a bug report and for a workaround use the FILES argument I guess?<br><br>SET(bar_PUBLIC_HDRS src/bar.h)<br>SET(bar_SRCS src/bar.cc)<br><br>SET(bar_FILES ${bar_PUBLIC_HDRS} ${bar_SRCS})<br>
source_group("" FILES ${bar_FILES})<br>add_executable(bar ${bar_FILES})<br><br></div></div><br>-- <br>Philip Lowman<br>