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

Brandon Van Every bvanevery at gmail.com
Wed Jan 23 16:39:31 EST 2008


On Jan 23, 2008 3:51 PM, pepone. onrez <pepone.onrez at gmail.com> wrote:
>
> 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?

file(GLOB var pattern) simply outputs a variable "var".  So you are
talking about determining arbitrary program execution based on the
value of the var.  In practice I don't see how you'd cleanly separate
that.


Cheers,
Brandon Van Every


More information about the CMake mailing list