> And another thing, is it actually \${SCRIPT} a portable solution that works
> on all the generators?
>
This is not about generators but about what shell you are running
cmake from. For example that would not work on windows since the
command prompt has a different syntax for variables.
John