<br>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?
<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><div class="Wj3C7c"><br><br><div class="gmail_quote">On Jan 23, 2008 6:59 AM, Daniel &lt;
<a href="mailto:daniel@connect2.com" target="_blank">daniel@connect2.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>pepone.onrez wrote:<br>&gt; There isn&#39;t any way for GLOB runs every time and view if there is new<br>&gt; files in the GLOB?<br>&gt; or other way for adding multiple files with a regular expression and get
<br>&gt; it update when needed?<br>&gt;<br>&gt; a custom macro can do this?<br>&gt;<br>&gt; Any other ideas for adding multiple files and get it updated automatically.<br>&gt;<br>&gt; Thanks<br>&gt;<br><br></div>FILE does recalculate the GLOB every time CMake is run, but CMake is not invoked
<br>every time you type make. &nbsp;CMake is ran once to setup the build directory, but<br>after that when you run make it will call cmake only if a CMakeLists.txt is<br>modified.<br><br>So the only way to run the FILE command at each build would be to run cmake at
<br>every build. &nbsp;This can be done, but it would be a waste time.<br>--<br><font color="#888888">Daniel<br></font></blockquote></div><br>
</div></div></blockquote></div><br>