glib-compile-resources contains resource data twice and creates large output files
This is more an improvement than a bug.
gtk4-widget-factory is 88MB right now.
That is pretty huge and GCC needs 4.5 seconds to compile this one file alone (clang is much faster). Deleting the
#if _MSV_VER parts of the file gets it down to only 36MB, which GCC can compile in 1 second.
I understand that the distributed output should contain both so it can be compiled for windows and the rest (I guess? Are we still distributing this way via tarballs?). But it would be nice if
glib-compile-resources could be made to only emit the non-windows data for faster compile times.