<div dir="ltr">Is this just not possible?</div><div class="gmail_extra"><br><div class="gmail_quote">On 24 August 2016 at 11:35, Steve Lorimer <span dir="ltr"><<a href="mailto:steve.lorimer@gmail.com" target="_blank">steve.lorimer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>As part of our build process we tag certain binary files with version information such as git branch, number of commits, build variant etc.</div><div><br></div><div>Eg, for a binary called "app" we could install a file in the local source directory with the name "app.branch_foo.91.debug"</div><div><br></div><div>The shell globbing pattern that matches is "app.*[0-9]*"</div><div><br></div><div>I need a globbing pattern because the tag can change without the makefiles changing, so the tag can't be hardcoded into the makefile.</div><div><br></div><div>If I specify a globbing pattern for ADDITIONAL_MAKE_CLEAN_FILES it specifies this as an actual file</div><div><br></div><div>    set_directory_properties(<wbr>PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES app.*[0-9]*)</div><div><br></div><div>This results in </div><div><br></div><div>    file(REMOVE_RECURSE</div><div>        "../../../app/app.*[0-9]*"</div><div>        ...</div><div>    )</div><div><br></div><div>I've tried adding a nested file(GLOB ...) into the set_directory_properties but that doesn't work either.</div><div><br></div><div>Is it possible to specify a globbing pattern in set_directory_properties(<wbr>PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES ..<wbr>.)?<br></div><div><br></div><div>Is it possible to specify a globbing pattern in file(REMOVE_RECURSE ...)?</div><div><br></div><div>TIA </div><span class="HOEnZb"><font color="#888888"><div>Steve</div></font></span></div>
</blockquote></div><br></div>