2015-08-25 09:41:55 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<ImportGroup Label="PropertySheets">
|
|
|
|
<Import Project="gtk3-build-defines.props" />
|
|
|
|
</ImportGroup>
|
|
|
|
<PropertyGroup Label="UserMacros">
|
|
|
|
<BinDir>$(SolutionDir)$(Configuration)\$(Platform)\bin</BinDir>
|
|
|
|
<InstalledDlls>$(BinDir)\$(GtkDllPrefix)gdk(GtkDllSuffix).dll;$(BinDir)\$(GtkDllPrefix)gtk(GtkDllSuffix).dll;$(BinDir)\$(GtkDllPrefix)gailutil(GtkDllSuffix).dll</InstalledDlls>
|
|
|
|
<InstalledBins>$(BinDir)\gtk3-demo.exe;$(BinDir)\gtk3-demo-application.exe;$(BinDir)\gtk3-icon-browser.exe;$(BinDir)\gtk-encode-symbolic-svg.exe</InstalledBins>
|
|
|
|
<InstalledBroadwayBins>$(BinDir)\broadwayd.exe</InstalledBroadwayBins>
|
|
|
|
<GtkDoInstallBin>
|
|
|
|
mkdir $(CopyDir)\bin
|
|
|
|
mkdir $(CopyDir)\lib
|
|
|
|
|
|
|
|
copy "$(BinDir)\$(GtkDllPrefix)gdk-3$(GtkDllSuffix).dll" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\$(GtkDllPrefix)gdk-3$(GtkDllSuffix).pdb" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\gdk-$(ApiVersion).lib" $(CopyDir)\lib
|
|
|
|
|
|
|
|
if "$(Configuration)" == "Release_Broadway" goto DO_BROADWAY_BIN
|
|
|
|
if "$(Configuration)" == "Debug_Broadway" goto DO_BROADWAY_BIN
|
|
|
|
copy "$(BinDir)\$(GtkDllPrefix)gtk-3$(GtkDllSuffix).dll" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\$(GtkDllPrefix)gtk-3$(GtkDllSuffix).pdb" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\$(GtkDllPrefix)gailutil-3$(GtkDllSuffix).dll" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\$(GtkDllPrefix)gailutil-3$(GtkDllSuffix).pdb" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\gtk-$(ApiVersion).lib" $(CopyDir)\lib
|
|
|
|
copy "$(BinDir)\gailutil-$(ApiVersion).lib" $(CopyDir)\lib
|
|
|
|
copy "$(BinDir)\gtk3-demo.exe" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\gtk3-demo.pdb" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\gtk3-demo-application.exe" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\gtk3-demo-application.pdb" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\gtk3-icon-browser.exe" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\gtk3-icon-browser.pdb" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\gtk-encode-symbolic-svg.exe" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\gtk-encode-symbolic-svg.pdb" $(CopyDir)\bin
|
2015-12-15 07:37:33 +00:00
|
|
|
copy "$(BinDir)\gtk-update-icon-cache.exe" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\gtk-update-icon-cache.pdb" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\gtk-query-settings.exe" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\gtk-query-settings.pdb" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\gtk-builder-tool.exe" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\gtk-builder-tool.pdb" $(CopyDir)\bin
|
2015-08-25 09:41:55 +00:00
|
|
|
goto DONE_BIN
|
|
|
|
|
|
|
|
:DO_BROADWAY_BIN
|
|
|
|
copy "$(BinDir)\broadwayd.exe" $(CopyDir)\bin
|
|
|
|
copy "$(BinDir)\broadwayd.pdb" $(CopyDir)\bin
|
|
|
|
|
|
|
|
if "$(Configuration)" == "Release_Broadway" goto DO_BROADWAY_RELEASE
|
|
|
|
if "$(Configuration)" == "Debug_Broadway" goto DO_BROADWAY_DEBUG
|
|
|
|
:DO_BROADWAY_RELEASE
|
|
|
|
copy .\Release\$(Platform)\bin\$(GtkDllPrefix)gtk-3$(GtkDllSuffix).dll $(CopyDir)\bin
|
|
|
|
copy .\Release\$(Platform)\bin\$(GtkDllPrefix)gtk-3$(GtkDllSuffix).pdb $(CopyDir)\bin
|
|
|
|
copy .\Release\$(Platform)\bin\$(GtkDllPrefix)gailutil-3$(GtkDllSuffix).dll $(CopyDir)\bin
|
|
|
|
copy .\Release\$(Platform)\bin\$(GtkDllPrefix)gailutil-3$(GtkDllSuffix).pdb $(CopyDir)\bin
|
|
|
|
copy .\Release\$(Platform)\bin\gtk-$(ApiVersion).lib $(CopyDir)\lib
|
|
|
|
copy .\Release\$(Platform)\bin\gailutil-$(ApiVersion).lib $(CopyDir)\lib
|
|
|
|
copy .\Release\$(Platform)\bin\gtk3-demo.exe $(CopyDir)\bin
|
|
|
|
copy .\Release\$(Platform)\bin\gtk3-demo.pdb $(CopyDir)\bin
|
|
|
|
copy .\Release\$(Platform)\bin\gtk3-demo-application.exe $(CopyDir)\bin
|
|
|
|
copy .\Release\$(Platform)\bin\gtk3-demo-application.pdb $(CopyDir)\bin
|
|
|
|
copy .\Release\$(Platform)\bin\gtk3-icon-browser.exe $(CopyDir)\bin
|
|
|
|
copy .\Release\$(Platform)\bin\gtk3-icon-browser.pdb $(CopyDir)\bin
|
|
|
|
copy .\Release\$(Platform)\bin\gtk-encode-symbolic-svg.exe $(CopyDir)\bin
|
|
|
|
copy .\Release\$(Platform)\bin\gtk-encode-symbolic-svg.pdb $(CopyDir)\bin
|
2015-12-15 07:37:33 +00:00
|
|
|
copy .\Release\$(Platform)\bin\gtk-update-icon-cache.exe $(CopyDir)\bin
|
|
|
|
copy .\Release\$(Platform)\bin\gtk-update-icon-cache.pdb $(CopyDir)\bin
|
|
|
|
copy .\Release\$(Platform)\bin\gtk-query-settings.exe $(CopyDir)\bin
|
|
|
|
copy .\Release\$(Platform)\bin\gtk-query-settings.pdb $(CopyDir)\bin
|
|
|
|
copy .\Release\$(Platform)\bin\gtk-builder-tool.exe $(CopyDir)\bin
|
|
|
|
copy .\Release\$(Platform)\bin\gtk-builder-tool.pdb $(CopyDir)\bin
|
2015-08-25 09:41:55 +00:00
|
|
|
|
|
|
|
goto DONE_BIN
|
|
|
|
|
|
|
|
:DO_BROADWAY_DEBUG
|
|
|
|
copy .\Debug\$(Platform)\bin\$(GtkDllPrefix)gtk-3$(GtkDllSuffix).dll $(CopyDir)\bin
|
|
|
|
copy .\Debug\$(Platform)\bin\$(GtkDllPrefix)gtk-3$(GtkDllSuffix).pdb $(CopyDir)\bin
|
|
|
|
copy .\Debug\$(Platform)\bin\$(GtkDllPrefix)gailutil-3$(GtkDllSuffix).dll $(CopyDir)\bin
|
|
|
|
copy .\Debug\$(Platform)\bin\$(GtkDllPrefix)gailutil-3$(GtkDllSuffix).pdb $(CopyDir)\bin
|
|
|
|
copy .\Debug\$(Platform)\bin\gtk-$(ApiVersion).lib $(CopyDir)\lib
|
|
|
|
copy .\Debug\$(Platform)\bin\gailutil-$(ApiVersion).lib $(CopyDir)\lib
|
|
|
|
copy .\Debug\$(Platform)\bin\gtk3-demo.exe $(CopyDir)\bin
|
|
|
|
copy .\Debug\$(Platform)\bin\gtk3-demo.pdb $(CopyDir)\bin
|
|
|
|
copy .\Debug\$(Platform)\bin\gtk3-demo-application.exe $(CopyDir)\bin
|
|
|
|
copy .\Debug\$(Platform)\bin\gtk3-demo-application.pdb $(CopyDir)\bin
|
|
|
|
copy .\Debug\$(Platform)\bin\gtk3-icon-browser.exe $(CopyDir)\bin
|
|
|
|
copy .\Debug\$(Platform)\bin\gtk3-icon-browser.pdb $(CopyDir)\bin
|
|
|
|
copy .\Debug\$(Platform)\bin\gtk-encode-symbolic-svg.exe $(CopyDir)\bin
|
|
|
|
copy .\Debug\$(Platform)\bin\gtk-encode-symbolic-svg.pdb $(CopyDir)\bin
|
2015-12-15 07:37:33 +00:00
|
|
|
copy .\Debug\$(Platform)\bin\gtk-update-icon-cache.exe $(CopyDir)\bin
|
|
|
|
copy .\Debug\$(Platform)\bin\gtk-update-icon-cache.pdb $(CopyDir)\bin
|
|
|
|
copy .\Debug\$(Platform)\bin\gtk-query-settings.exe $(CopyDir)\bin
|
|
|
|
copy .\Debug\$(Platform)\bin\gtk-query-settings.pdb $(CopyDir)\bin
|
|
|
|
copy .\Debug\$(Platform)\bin\gtk-builder-tool.exe $(CopyDir)\bin
|
|
|
|
copy .\Debug\$(Platform)\bin\gtk-builder-tool.pdb $(CopyDir)\bin
|
2015-08-25 09:41:55 +00:00
|
|
|
|
|
|
|
:DONE_BIN
|
|
|
|
</GtkDoInstallBin>
|
|
|
|
<GtkDoInstall>
|
|
|
|
echo off
|
|
|
|
mkdir $(CopyDir)\include\gtk-$(ApiVersion)\gdk\win32
|
|
|
|
mkdir $(CopyDir)\include\gtk-$(ApiVersion)\gdk\deprecated
|
|
|
|
copy ..\..\..\gdk\win32\gdkwin32.h $(CopyDir)\include\gtk-$(ApiVersion)\gdk
|
|
|
|
#include "gdk-3.vs10.headers"
|
|
|
|
#include "gdk3-win32.vs10.headers"
|
|
|
|
|
|
|
|
mkdir $(CopyDir)\include\gtk-$(ApiVersion)\gtk\a11y
|
|
|
|
mkdir $(CopyDir)\include\gtk-$(ApiVersion)\gtk\deprecated
|
|
|
|
#include "gtk-3.vs10.headers"
|
|
|
|
|
|
|
|
mkdir $(CopyDir)\include\gail-$(ApiVersion)\libgail-util
|
|
|
|
#include "gailutil-3.vs10.headers"
|
|
|
|
|
|
|
|
mkdir $(CopyDir)\share\icons\hicolor\16x16\apps
|
|
|
|
copy ..\..\..\demos\gtk-demo\data\16x16\gtk3-demo.png $(CopyDir)\share\icons\hicolor\16x16\apps
|
|
|
|
mkdir $(CopyDir)\share\icons\hicolor\22x22\apps
|
|
|
|
copy ..\..\..\demos\gtk-demo\data\22x22\gtk3-demo.png $(CopyDir)\share\icons\hicolor\22x22\apps
|
|
|
|
mkdir $(CopyDir)\share\icons\hicolor\24x24\apps
|
|
|
|
copy ..\..\..\demos\gtk-demo\data\24x24\gtk3-demo.png $(CopyDir)\share\icons\hicolor\24x24\apps
|
|
|
|
mkdir $(CopyDir)\share\icons\hicolor\32x32\apps
|
|
|
|
copy ..\..\..\demos\gtk-demo\data\32x32\gtk3-demo.png $(CopyDir)\share\icons\hicolor\32x32\apps
|
|
|
|
mkdir $(CopyDir)\share\icons\hicolor\48x48\apps
|
|
|
|
copy ..\..\..\demos\gtk-demo\data\48x48\gtk3-demo.png $(CopyDir)\share\icons\hicolor\48x48\apps
|
|
|
|
mkdir $(CopyDir)\share\icons\hicolor\256x256\apps
|
|
|
|
copy ..\..\..\demos\gtk-demo\data\256x256\gtk3-demo.png $(CopyDir)\share\icons\hicolor\256x256\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
|
|
|
|
copy ..\..\..\gtk\org.gtk.Settings.Debug.gschema.xml $(CopyDir)\share\glib-2.0\schemas
|
|
|
|
copy ..\..\..\demos\gtk-demo\org.gtk.Demo.gschema.xml $(CopyDir)\share\glib-2.0\schemas
|
2015-12-15 07:37:33 +00:00
|
|
|
|
2015-08-25 09:41:55 +00:00
|
|
|
echo "Compiling gsettings XML Files..."
|
2015-10-12 15:22:35 +00:00
|
|
|
$(GlibEtcInstallRoot)\bin\glib-compile-schemas.exe $(CopyDir)\share\glib-2.0\schemas
|
2015-12-15 07:37:33 +00:00
|
|
|
|
|
|
|
echo "Generating icon cache......"
|
|
|
|
$(CopyDir)\bin\gtk-update-icon-cache.exe --ignore-theme-index --force "$(CopyDir)\share\icons\hicolor"
|
2015-08-25 09:41:55 +00:00
|
|
|
</GtkDoInstall>
|
|
|
|
<GtkDoInstallBroadwayHeaders>
|
|
|
|
copy ..\..\..\gdk\broadway\gdkbroadway.h $(CopyDir)\include\gtk-$(ApiVersion)\gdk
|
|
|
|
mkdir $(CopyDir)\include\gtk-$(ApiVersion)\gdk\broadway
|
|
|
|
#include "gdk3-broadway.vs10.headers"
|
|
|
|
</GtkDoInstallBroadwayHeaders>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
|
|
<_PropertySheetDisplayName>gtk3installsprops</_PropertySheetDisplayName>
|
|
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<BuildMacro Include="BinDir">
|
|
|
|
<Value>$(BinDir)</Value>
|
|
|
|
</BuildMacro>
|
|
|
|
<BuildMacro Include="InstalledDlls">
|
|
|
|
<Value>$(InstalledDlls)</Value>
|
|
|
|
</BuildMacro>
|
|
|
|
<BuildMacro Include="InstalledBins">
|
|
|
|
<Value>$(InstalledBins)</Value>
|
|
|
|
</BuildMacro>
|
|
|
|
<BuildMacro Include="InstalledBroadwayBins">
|
|
|
|
<Value>$(InstalledBroadwayBins)</Value>
|
|
|
|
</BuildMacro>
|
|
|
|
<BuildMacro Include="GtkDoInstallBin">
|
|
|
|
<Value>$(GtkDoInstallBin)</Value>
|
|
|
|
</BuildMacro>
|
|
|
|
<BuildMacro Include="GtkDoInstall">
|
|
|
|
<Value>$(GtkDoInstall)</Value>
|
|
|
|
</BuildMacro>
|
|
|
|
<BuildMacro Include="GtkDoInstallBroadwayHeaders">
|
|
|
|
<Value>$(GtkDoInstallBroadwayHeaders)</Value>
|
|
|
|
</BuildMacro>
|
|
|
|
</ItemGroup>
|
|
|
|
</Project>
|