diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-10-27 14:27:21 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-10-27 14:28:45 +0800 |
commit | 71b7435c56bdd79dcc729a2b7a4722f184b1c69d (patch) | |
tree | 247d90a46d560229b6d50f0afb83ddbe4ec21f96 /build | |
parent | 42d3a9e68a336f1c98319a08882ab64e2dc98a98 (diff) | |
download | gtk+-71b7435c56bdd79dcc729a2b7a4722f184b1c69d.tar.gz |
MSVC builds: Simplify "install" property sheet
Use a for loop to loop through the icon sizes to copy them.
Diffstat (limited to 'build')
-rw-r--r-- | build/win32/vs12/gtk4-install.propsin | 13 |
1 files changed, 1 insertions, 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 |