[CMake] Why SET() not support regular expression ?

pepone.onrez pepone.onrez at gmail.com
Wed Jan 23 15:51:38 EST 2008


Maybe a macro can call cmake for only this part that need to be regenerated,
in this way if the macro detects thats a glob has changed it can recreate
rules that´s depends upon this GLOB, Only and idea what you think about
this?

>
>
> On Jan 23, 2008 6:59 AM, Daniel <daniel at connect2.com> wrote:
>
> > pepone.onrez wrote:
> > > There isn't any way for GLOB runs every time and view if there is new
> > > files in the GLOB?
> > > or other way for adding multiple files with a regular expression and
> > get
> > > it update when needed?
> > >
> > > a custom macro can do this?
> > >
> > > Any other ideas for adding multiple files and get it updated
> > automatically.
> > >
> > > Thanks
> > >
> >
> > FILE does recalculate the GLOB every time CMake is run, but CMake is not
> > invoked
> > every time you type make.  CMake is ran once to setup the build
> > directory, but
> > after that when you run make it will call cmake only if a CMakeLists.txtis
> > modified.
> >
> > So the only way to run the FILE command at each build would be to run
> > cmake at
> > every build.  This can be done, but it would be a waste time.
> > --
> > Daniel
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080123/656a957c/attachment.htm


More information about the CMake mailing list