On Mon, Nov 24, 2008 at 8:44 AM, Armin Berres <[EMAIL PROTECTED]>wrote:
> On Mon, 24 Nov 08 08:38, Philip Lowman wrote:
> > Works for me. Puts files in the root of the "bar" project:
> >
> > PROJECT(foo)
> > SOURCE_GROUP("" FILES bar.h bar.cc)
> > ADD_EXECUTABLE(bar bar.h bar.cc)
>
> Ah, ok. What I am trying is more or less the following:
>
> PROJECT(foo)
> source_group("" REGULAR_EXPRESSION "src/[^/]+$")
> ADD_EXECUTABLE(bar src/bar.h src/bar.cc)
>
> The above places bar.h and bar.cc in a folder called "Header Files",
> source_group("." REGULAR_EXPRESSION "src/[^/]+$") works as expected and
> places the two files in a "." folder.
> Seems as if the combination of REGULAR_EXPRESSION+"" is not working.
You guys have managed to steal my thread and get completely off topic.
Can anyone answer my original question please?
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake