First off, I apologize if this is a very newbie-level question.<br>I need to set the value of a variable based on based on generated files, using the "file" command. Something like:<br>file(GLOB varFoo "*.cpp")<br>
<br>Here the cpp files are generated, so the value of varFoo comes up as empty when the build runs the first time. Is there any way to add a dependency on the file generation step to the "file" command?<br>