From 71b7435c56bdd79dcc729a2b7a4722f184b1c69d Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Thu, 27 Oct 2016 14:27:21 +0800 Subject: [PATCH] MSVC builds: Simplify "install" property sheet Use a for loop to loop through the icon sizes to copy them. --- build/win32/vs12/gtk4-install.propsin | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/build/win32/vs12/gtk4-install.propsin b/build/win32/vs12/gtk4-install.propsin index 33cc3fb42e..898b118ff5 100644 --- a/build/win32/vs12/gtk4-install.propsin +++ b/build/win32/vs12/gtk4-install.propsin @@ -110,18 +110,7 @@ mkdir $(CopyDir)\include\gtk-$(ApiVersion)\gtk\a11y mkdir $(CopyDir)\include\gtk-$(ApiVersion)\gtk\deprecated #include "gtk-4.vs12.headers" -mkdir $(CopyDir)\share\icons\hicolor\16x16\apps -copy ..\..\..\demos\gtk-demo\data\16x16\gtk4-demo.png $(CopyDir)\share\icons\hicolor\16x16\apps -mkdir $(CopyDir)\share\icons\hicolor\22x22\apps -copy ..\..\..\demos\gtk-demo\data\22x22\gtk4-demo.png $(CopyDir)\share\icons\hicolor\22x22\apps -mkdir $(CopyDir)\share\icons\hicolor\24x24\apps -copy ..\..\..\demos\gtk-demo\data\24x24\gtk4-demo.png $(CopyDir)\share\icons\hicolor\24x24\apps -mkdir $(CopyDir)\share\icons\hicolor\32x32\apps -copy ..\..\..\demos\gtk-demo\data\32x32\gtk4-demo.png $(CopyDir)\share\icons\hicolor\32x32\apps -mkdir $(CopyDir)\share\icons\hicolor\48x48\apps -copy ..\..\..\demos\gtk-demo\data\48x48\gtk4-demo.png $(CopyDir)\share\icons\hicolor\48x48\apps -mkdir $(CopyDir)\share\icons\hicolor\256x256\apps -copy ..\..\..\demos\gtk-demo\data\256x256\gtk4-demo.png $(CopyDir)\share\icons\hicolor\256x256\apps +for %%s in (16 22 24 32 48 256) do ((mkdir $(CopyDir)\share\icons\hicolor\%%sx%%s\apps) & (copy /b ..\..\..\demos\gtk-demo\data\%%sx%%s\gtk4-demo.png $(CopyDir)\share\icons\hicolor\%%sx%%s\apps)) mkdir $(CopyDir)\share\glib-2.0\schemas copy ..\..\..\gtk\org.gtk.Settings.FileChooser.gschema.xml $(CopyDir)\share\glib-2.0\schemas copy ..\..\..\gtk\org.gtk.Settings.ColorChooser.gschema.xml $(CopyDir)\share\glib-2.0\schemas