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 <[EMAIL PROTECTED]> 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 > > > >
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake