[CMake] How to work around permission deficiencies of file(GENERATE...)?

Stephen Kelly steveire at gmail.com
Thu Apr 30 15:21:38 EDT 2015


Alan W. Irwin wrote:

> But please keep
> in mind that the configure_file_generate function approach is itself a
> temporary workaround, and for CMake users who need to configure files
> that include generator expressions, a much cleaner approach will be
> possible if CMake developers implement a configure_file(... GENERATE
> ...) signature which configures generator expression items (and also
> configures all other items at generate time that configure_file
> without the GENERATE option configures at configure time).
> And if you do decide to implement something like that, I would be
> happy to test it for you.

Yes, something like that might make sense, but it's not on my radar 
currently to design/implement it. If someone else has the bandwidth for it, 
I can review it.

Thanks,

Steve.





More information about the CMake mailing list