cmake: Enable --warn-uninitialized in string(CONFIGURE) and configure_file
Example cases are visible in tests.
I had removed some of removeEmpty
logic in NEW CMP0053, as the key assumption in these changes was to make --warn-uninitialized consistent. It is common logic that CMake replaces uninitailized variables with empty strings and --warn-uninitialized can help with protecting yourself from it.
Solves #18489 (closed)