glib-compile-resources: support condition compilation
I have a Vala project, its has 509 Vala source files and more than 200 resource files, to speedup the compilation progress,
so I add condition compilation support, the code's condition compilation done well, but the resource.
I searched glib docs, there is no any docs about resources condition compilation, I think glib-compile-resources should support condition compilation, maybe the solution like this:
<file preprocess="xml-stripblanks" condition="DEBUG G_OS_WIN32">windows.manifest</file>
<file preprocess="xml-stripblanks" condition="DEBUG G_OS_WIN32">menumarkup.xml</file>
then the make tool pass the symbol to glib-resource-comopile, glib-resource-comopile compile the resource with the condition symbol.
Edited by TAO ZUHONG