[CMake] ALL_BUILD and ZERO_CHECK

Robert Dailey rcdailey at gmail.com
Mon Nov 24 10:13:01 EST 2008


On Mon, Nov 24, 2008 at 8:44 AM, Armin Berres <trigger at space-based.de>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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081124/c3ad4bfd/attachment.htm>


More information about the CMake mailing list